Skip to content

Commit

Permalink
[eslint] enforce no-ununsed-vars
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jul 4, 2015
1 parent 0213042 commit 838bbc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"no-multi-spaces": 0,
"no-underscore-dangle": 0,
"no-unused-expressions": 0,
"no-unused-vars": 0,
"no-sequences": 0,
"no-shadow": 0,
"no-shadow-restricted-names": 0,
Expand Down
11 changes: 1 addition & 10 deletions src/utils/modernizr.custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ module.exports = (function( window, document, undefined ) {
modElem = document.createElement(mod),
mStyle = modElem.style,

inputElem ,


toString = {}.toString,

prefixes = ' -webkit- -moz- -o- -ms- '.split(' '),


Expand All @@ -32,8 +27,6 @@ module.exports = (function( window, document, undefined ) {


tests = {},
inputs = {},
attrs = {},

classes = [],

Expand Down Expand Up @@ -221,7 +214,7 @@ module.exports = (function( window, document, undefined ) {

if ( ret && 'webkitPerspective' in docElement.style ) {

injectElementWithStyles('@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}', function( node, rule ) {
injectElementWithStyles('@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}', function(node) {
ret = node.offsetLeft === 9 && node.offsetHeight === 3;
});
}
Expand Down Expand Up @@ -275,8 +268,6 @@ module.exports = (function( window, document, undefined ) {


setCss('');
modElem = inputElem = null;


Modernizr._version = version;

Expand Down

0 comments on commit 838bbc1

Please sign in to comment.