diff options
| author | Igor Minar | 2012-04-10 14:29:49 -0700 | 
|---|---|---|
| committer | Igor Minar | 2012-04-10 16:52:12 -0700 | 
| commit | 52ee1ab5eb0f3197453b26c60a70239ac3fffea7 (patch) | |
| tree | 2c4dc57ec34d4fbc08248d72daf403bc36421f46 /src/jqLite.js | |
| parent | fcc556df3745d4c7768e235cb5f1caf70eb34639 (diff) | |
| download | angular.js-52ee1ab5eb0f3197453b26c60a70239ac3fffea7.tar.bz2 | |
chore(*): remove dead code and fix code style issues
Diffstat (limited to 'src/jqLite.js')
| -rw-r--r-- | src/jqLite.js | 20 | 
1 files changed, 1 insertions, 19 deletions
| diff --git a/src/jqLite.js b/src/jqLite.js index cb533a5e..0d00d091 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -87,24 +87,6 @@ var jqCache = {},  function jqNextId() { return (jqId++); } -function getStyle(element) { -  var current = {}, style = element[0].style, value, name, i; -  if (typeof style.length == 'number') { -    for(i = 0; i < style.length; i++) { -      name = style[i]; -      current[name] = style[name]; -    } -  } else { -    for (name in style) { -      value = style[name]; -      if (1*name != name && name != 'cssText' && value && typeof value == 'string' && value !='false') -        current[name] = value; -    } -  } -  return current; -} - -  var SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g;  var MOZ_HACK_REGEXP = /^moz([A-Z])/; @@ -546,7 +528,7 @@ function createEventHandler(element) {    };    eventHandler.fns = [];    return eventHandler; -}; +}  //////////////////////////////////////////  // Functions iterating traversal. | 
