From 735b47ca8d7880b5b77093e142c902b1f1791cc9 Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 25 May 2012 22:27:39 +0200 Subject: [PATCH] update comment --- source/Ox/js/Type.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/Ox/js/Type.js b/source/Ox/js/Type.js index db53f4d4..02fbb01e 100644 --- a/source/Ox/js/Type.js +++ b/source/Ox/js/Type.js @@ -337,10 +337,10 @@ Ox.typeOf Returns the type of a value Ox.typeOf = function(value) { return Object.prototype.toString.call(value).slice(8, -1).toLowerCase(); }; -// Firefox 3.6 returns 'Object' instead of 'Arguments', -// Internet Explorer 8 returns 'Object' instead of 'NodeList', -// Internet Explorer 9 returns 'HTMLCollection' instead of 'NodeList', -// Mobile Safari doesn't like null and undefined +// Firefox 3.6 returns 'Object' for arguments, +// Internet Explorer 8 returns 'Object' for nodelists, +// Internet Explorer 9 returns 'HTMLCollection' for nodelists, +// Mobile Safari returns 'DOMWindow' for null and undefined if ( Ox.typeOf((function() { return arguments; }())) != 'arguments' || Ox.typeOf(document.getElementsByTagName('a')) != 'nodelist'