diff --git a/.jshintrc b/.jshintrc index 4fd02a70..7f804866 100644 --- a/.jshintrc +++ b/.jshintrc @@ -14,12 +14,5 @@ "expr":true, "validthis":true, "scripturl":true, - "globals":{ - "module": true, - "define": true, - "console": true, - "ActiveXObject": true, - "jQuery": false, - "DocumentTouch": true - } + "globals":{} } \ No newline at end of file diff --git a/src/base.js b/src/base.js index 25eb264c..7dabe632 100644 --- a/src/base.js +++ b/src/base.js @@ -22,6 +22,8 @@ * @polyfill ./polyfill/object/getownpropertydescriptor */ +/* global console, module, define */ + ;(function(definition, navigator, global, document, undefined) { 'use strict'; diff --git a/src/support/capability/touch.js b/src/support/capability/touch.js index 82a98c63..dbea297c 100644 --- a/src/support/capability/touch.js +++ b/src/support/capability/touch.js @@ -12,6 +12,8 @@ * @require ../../support */ +/* global DocumentTouch */ + ;(function(definition) { window.qoopido.register('support/capability/touch', definition, [ '../../support' ]); }(function(modules, shared, namespace, navigator, window, document, undefined) { diff --git a/src/transport/xhr.js b/src/transport/xhr.js index 8f0cf3ea..49451b03 100644 --- a/src/transport/xhr.js +++ b/src/transport/xhr.js @@ -18,6 +18,8 @@ * @require ../promise/defer */ +/* global ActiveXObject */ + ;(function(definition) { window.qoopido.registerSingleton('transport/xhr', definition, [ '../transport', '../function/merge', '../function/unique/string', '../url', '../promise/defer' ]); }(function(modules, shared, namespace, navigator, window, document, undefined) {