Gaël Métais 10 anos atrás
pai
commit
9ec5bd7183

+ 2 - 1
lib/tools/phantomas/custom_modules/modules/javaScriptBottleYLT/javaScriptBottleYLT.js

@@ -6,11 +6,12 @@
  * @see http://www.stevesouders.com/blog/2012/04/10/dont-docwrite-scripts/
  */
 /* global document: true, window: true */
-'use strict';
 
 exports.version = '0.1';
 
 exports.module = function(phantomas) {
+    'use strict';
+    
     phantomas.setMetric('documentWriteCalls'); //@desc number of calls to either document.write or document.writeln
     phantomas.setMetric('evalCalls'); // @desc number of calls to eval (either direct or via setTimeout / setInterval)