Fix jsHint

This commit is contained in:
Gaël Métais
2014-12-30 11:23:27 +01:00
parent dbde3de8e8
commit 9ec5bd7183
@@ -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)