Skip to content

Commit 53aacb3

Browse files
committed
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.
1 parent f4d338d commit 53aacb3

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Angular.js

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,6 @@ if ('i' !== 'I'.toLowerCase()) {
5151

5252
function fromCharCode(code) {return String.fromCharCode(code);}
5353

54-
/**
55-
* Creates the element for IE8 and below to allow styling of widgets
56-
* (http://ejohn.org/blog/html5-shiv/). This hack works only if angular is
57-
* included synchronously at the top of the document before IE sees any
58-
* unknown elements. See regression/issue-584.html.
59-
*
60-
* @param {string} elementName Name of the widget.
61-
* @returns {string} Lowercased string.
62-
*/
63-
function shivForIE(elementName) {
64-
elementName = lowercase(elementName);
65-
if (msie < 9 && elementName.charAt(0) != '@') { // ignore attr-widgets
66-
document.createElement(elementName);
67-
}
68-
return elementName;
69-
}
7054

7155
var $boolean = 'boolean',
7256
$console = 'console',

0 commit comments

Comments
 (0)