Browse Source

src : jshints

pull/150/head
David DeSandro 13 years ago
parent
commit
6a3b488b63
  1. 8
      jquery.isotope.js

8
jquery.isotope.js

@ -10,11 +10,13 @@
*/ */
/*jshint curly: true, eqeqeq: true, forin: false, immed: false, newcap: true, noempty: true, undef: true */ /*jshint curly: true, eqeqeq: true, forin: false, immed: false, newcap: true, noempty: true, undef: true */
/*global Modernizr: true, jQuery: true */ /*global window: true, jQuery: true */
(function( window, $, undefined ){ (function( window, $, undefined ){
'use strict'; // get global vars
var document = window.document;
var Modernizr = window.Modernizr;
// helper function // helper function
var capitalize = function( str ) { var capitalize = function( str ) {
@ -100,7 +102,7 @@
} }
}; };
if ( window.Modernizr ) { if ( Modernizr ) {
// if there's a previous Modernzir, check if there are necessary tests // if there's a previous Modernzir, check if there are necessary tests
for ( var testName in tests) { for ( var testName in tests) {
if ( !Modernizr.hasOwnProperty( testName ) ) { if ( !Modernizr.hasOwnProperty( testName ) ) {

Loading…
Cancel
Save