Skip to content

Commit

Permalink
Fix jshint errors from adding self as global
Browse files Browse the repository at this point in the history
- enables 'worker' mode in the jshint config
  • Loading branch information
scothis committed Jun 16, 2016
1 parent 72f5fc1 commit 29d77ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"couch" : false, // defines globals exposed by CouchDB
"node" : true, // defines globals available when your code is running inside of Node.js
"rhino" : false, // defines globals available when your code is running inside of Rhino
"worker" : false, // defines globals available when your code is running inside of a Web Worker
"worker" : true, // defines globals available when your code is running inside of a Web Worker
"wsh" : false, // defines globals available when your code is running as a script for the Windows Script Host.

"devel" : false, // defines globals that are usually used for logging poor-man's debugging: console, alert
Expand Down
2 changes: 1 addition & 1 deletion client/xhr.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,6 @@

}(
typeof define === 'function' && define.amd ? define : function (factory) { module.exports = factory(require); },
typeof (window || self) !== 'undefined' ? window || self : void 0
typeof window !== 'undefined' ? window : (typeof self !== 'undefined' ? self : void 0)
// Boilerplate for AMD and Node
));

0 comments on commit 29d77ee

Please sign in to comment.