mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 11:51:05 -05:00
Remove reference to global 'this' from listEntry
Also removes setting of the `$` variable to jQuery. This can mess up the unit tests if they run against JSDOM, which doesn't set the global `this` to `window`, as browsers do. We don't set `$` in any other module scripts and adding it to `this` without making explicit that `this` means `window` isn't useful.
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
(function (Modules) {
|
||||
|
||||
'use strict';
|
||||
|
||||
var root = this,
|
||||
$ = this.jQuery;
|
||||
|
||||
var lists = [],
|
||||
listEntry,
|
||||
ListEntry;
|
||||
|
||||
Reference in New Issue
Block a user