Add jscs "disallowUnusedVariables" rule.

This commit is contained in:
John-David Dalton
2016-04-14 12:45:18 -07:00
parent da7f413f6f
commit f6c14ec31f
5 changed files with 23 additions and 46 deletions

View File

@@ -82,12 +82,6 @@
/** Used to queue benchmark suites. */
var suites = [];
/** Used to resolve a value's internal [[Class]]. */
var toString = Object.prototype.toString;
/** Detect if in a browser environment. */
var isBrowser = isHostType(root, 'document') && isHostType(root, 'navigator');
/** Use a single "load" function. */
var load = (typeof require == 'function' && !amd)
? require