Commits

Sean Wilkinson  committed e90981b

Added JSHint directives

  • Participants
  • Parent commits 6188303

Comments (0)

Files changed (3)

File src/browser-client/ie.js

 //  _why_. The <script> tags don't even support the `onload` attribute! Argh.
 //
 //                                                      ~~ (c) SRW, 23 May 2012
-//                                                  ~~ last updated 17 Jan 2013
+//                                                  ~~ last updated 19 Apr 2013
 
 (function () {
     'use strict';
 
  // Pragmas
 
+    /*jshint maxparams: 1, quotmark: single, strict: true */
+
     /*jslint browser: true, indent: 4, maxlen: 80 */
 
     /*properties appendChild, body, check, createElement, mode, setAttribute */

File src/browser-client/main.js

 //      https://bugzilla.mozilla.org/show_bug.cgi?id=756028
 //
 //                                                      ~~ (c) SRW, 23 May 2012
-//                                                  ~~ last updated 14 Apr 2013
+//                                                  ~~ last updated 19 Apr 2013
 
 (function () {
     'use strict';
 
  // Pragmas
 
-    /*jslint browser: true, indent: 4, maxlen: 80 */
-
     /*global jQuery: false */
 
+    /*jshint maxparams: 1, quotmark: single, strict: true */
+
+    /*jslint browser: true, indent: 4, maxlen: 80 */
+
     /*properties Q, QM, activeElement, alert, ajax, avar, blur, box, cache,
         call, clearTimeout, console, dataType, document, error, exit, focus,
         getItem, hasOwnProperty, id, is, join, jQuery, key, localStorage, log,

File src/browser-client/qmachine.js

 
 //- qmachine.js ~~
 //                                                      ~~ (c) SRW, 15 Nov 2012
-//                                                  ~~ last updated 05 Apr 2013
+//                                                  ~~ last updated 19 Apr 2013
 
 (function (global, sandbox) {
     'use strict';
 
  // Pragmas
 
+    /*jshint maxparams: 5, quotmark: single, strict: true */
+
     /*jslint indent: 4, maxlen: 80 */
 
     /*properties