diff options
| author | Igor Minar | 2012-03-09 14:48:42 -0800 | 
|---|---|---|
| committer | Igor Minar | 2012-03-09 16:14:26 -0800 | 
| commit | 53aacb35fa469496c88a04a70ffab875e8b35d86 (patch) | |
| tree | 5b0e285789b9a538f6e081b09c640268c5b4a2e8 /src/Angular.js | |
| parent | f4d338d393dabb49182d40b4fe90c4d1b51621c0 (diff) | |
| download | angular.js-53aacb35fa469496c88a04a70ffab875e8b35d86.tar.bz2 | |
chore(shiv): remove obsolete shiv code
we can't provide this functionality because the directives are lazy
loaded when the module loads, which is too late for the shiv to do
anything useful.
Diffstat (limited to 'src/Angular.js')
| -rw-r--r-- | src/Angular.js | 16 | 
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Angular.js b/src/Angular.js index c70373b2..3f9938f1 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -51,22 +51,6 @@ if ('i' !== 'I'.toLowerCase()) {  function fromCharCode(code) {return String.fromCharCode(code);} -/** - * Creates the element for IE8 and below to allow styling of widgets - * (http://ejohn.org/blog/html5-shiv/). This hack works only if angular is - * included synchronously at the top of the document before IE sees any - * unknown elements. See regression/issue-584.html. - * - * @param {string} elementName Name of the widget. - * @returns {string} Lowercased string. - */ -function shivForIE(elementName) { -  elementName = lowercase(elementName); -  if (msie < 9 && elementName.charAt(0) != '@') { // ignore attr-widgets -    document.createElement(elementName); -  } -  return elementName; -}  var $boolean          = 'boolean',      $console          = 'console',  | 
