1. Sean Wilkinson
  2. qmachine

Commits

Sean Wilkinson  committed 622cc7a

Added JS comments

  • Participants
  • Parent commits ddfa6e0
  • Branches master

Comments (0)

Files changed (2)

File src/browser-client/ie.js

View file
 //  This code "encourages" users of Internet Explorer (IE) to install Google's
 //  Chrome Frame. I'm not sure if this code is necessary now that I'm using the
 //  "HTML5 Shiv" that Twitter Bootstrap requires, but this code is definitely
-//  not being used right now ...
+//  not being used right now (check the project-level Makefile).
 //
 //  NOTE: I've never spent much time trying to support IE, and now I remember
 //  _why_. The <script> tags don't even support the `onload` attribute! Argh.
 //
 //                                                      ~~ (c) SRW, 23 May 2012
-//                                                  ~~ last updated 19 Apr 2013
+//                                                  ~~ last updated 13 Aug 2013
 
 (function () {
     'use strict';
 
     /*properties appendChild, body, check, createElement, mode, setAttribute */
 
- // Prerequisites
-
  // Declarations
 
     var script, timer;

File src/browser-client/qmachine.js

View file
 
 //- qmachine.js ~~
 //                                                      ~~ (c) SRW, 15 Nov 2012
-//                                                  ~~ last updated 04 May 2013
+//                                                  ~~ last updated 13 Aug 2013
 
 (function (global, sandbox) {
     'use strict';
     };
 
     is_String = function (x) {
-     // This function needs documentation.
+     // This function returns a boolean that indicates whether the given
+     // argument `x` can be safely assumed to have `String.prototype` methods.
         return ((typeof x === 'string') || (x instanceof String));
     };