Home page Forum Wiki Mail Jabber Devel NIX-FILES

AltLUG Git

Git-repositories of Altai Linux User Group

Lint: Workaround jshint bug in older version that grunt uses.
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 15 Nov 2012 09:54:50 +0000 (10:54 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 15 Nov 2012 09:54:50 +0000 (10:54 +0100)
qunit/qunit.js

index 1bb8918..e5af697 100644 (file)
@@ -41,6 +41,8 @@ var QUnit,
         * @return {Object} New object with only the own properties (recursively).
         */
        objectValues = function( obj ) {
+               // Grunt 0.3.x uses an older version of jshint that still has jshint/jshint#392.
+               /*jshint newcap: false */
                var key, val,
                        vals = QUnit.is( "array", obj ) ? [] : {};
                for ( key in obj ) {

Hosting is provided AltSPAHow to use Git
Please direct any questions on jabber alex.wolf@jabber.ru

Valid HTML 4.0 Transitional Valid CSS!

Designer Alexander Wolf