re-insert closure
This commit is contained in:
parent
a956c8b7e1
commit
f46ff46da8
1 changed files with 30 additions and 28 deletions
|
@ -341,6 +341,7 @@ Ox.typeOf = function(value) {
|
||||||
// Internet Explorer 8 returns 'Object' instead of 'NodeList',
|
// Internet Explorer 8 returns 'Object' instead of 'NodeList',
|
||||||
// Internet Explorer 9 returns 'HTMLCollection' instead of 'NodeList',
|
// Internet Explorer 9 returns 'HTMLCollection' instead of 'NodeList',
|
||||||
// Mobile Safari doesn't like null and undefined
|
// Mobile Safari doesn't like null and undefined
|
||||||
|
(function() {
|
||||||
if (
|
if (
|
||||||
Ox.typeOf(arguments) != 'arguments'
|
Ox.typeOf(arguments) != 'arguments'
|
||||||
|| Ox.typeOf(document.getElementsByTagName('a')) != 'nodelist'
|
|| Ox.typeOf(document.getElementsByTagName('a')) != 'nodelist'
|
||||||
|
@ -369,3 +370,4 @@ if (
|
||||||
return ret;
|
return ret;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
})();
|
||||||
|
|
Loading…
Reference in a new issue