Changeset 23532


Ignore:
Timestamp:
2014/06/07 23:33:56 (7 years ago)
Author:
kimoto
Message:

#2448 jshintのエラーを修正

Running "jshint:files" (jshint) task

html/user_data/packages/admin/js/eccube.admin.js

383 | .removeClass('sfhover')

Missing semicolon.

384 | }

Missing semicolon.

390 | if (milliseconds = null) milliseconds = 100;

Expected a conditional expression and instead saw an assignment.

393 | }

Missing semicolon.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/html/user_data/packages/admin/js/eccube.admin.js

    r23455 r23532  
    381381            .removeClass('active') 
    382382            .find('li') 
    383                 .removeClass('sfhover') 
    384     } 
     383                .removeClass('sfhover'); 
     384    }; 
    385385 
    386386    /** 
     
    388388     */ 
    389389    eccube.navi.setIgnoreClick = function(milliseconds) { // FIXME: 関数名 
    390         if (milliseconds = null) milliseconds = 100; 
     390        if (milliseconds === null) milliseconds = 100; 
    391391        eccube.navi.ignore_click = true; 
    392392        setTimeout(function(){eccube.navi.ignore_click = false;}, milliseconds); 
    393     } 
     393    }; 
    394394 
    395395    // グローバルに使用できるようにする 
Note: See TracChangeset for help on using the changeset viewer.