mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
chore(jqlite): clean up dead code
This commit is contained in:
parent
0cf5535333
commit
ae75c35746
1 changed files with 0 additions and 17 deletions
|
|
@ -89,23 +89,6 @@ function getStyle(element) {
|
|||
return current;
|
||||
}
|
||||
|
||||
//TODO: delete me! dead code?
|
||||
if (msie) {
|
||||
extend(JQLite.prototype, {
|
||||
text: function(value) {
|
||||
var e = this[0];
|
||||
// NodeType == 3 is text node
|
||||
if (e.nodeType == 3) {
|
||||
if (isDefined(value)) e.nodeValue = value;
|
||||
return e.nodeValue;
|
||||
} else {
|
||||
if (isDefined(value)) e.innerText = value;
|
||||
return e.innerText;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////
|
||||
function jqLiteWrap(element) {
|
||||
if (isString(element) && element.charAt(0) != '<') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue