From 53aacb35fa469496c88a04a70ffab875e8b35d86 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 9 Mar 2012 14:48:42 -0800 Subject: 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. --- src/Angular.js | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src') 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', -- cgit v1.2.3