[Pkg-javascript-commits] [dojo] 04/12: dojo.clone: changing the DOM node for IE, thx justinc!, !strict, fixes #9763.
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:00 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.4.5
in repository dojo.
commit 8e8369a3b61f092e45b80f8eb8aa1e1e9168522b
Author: Eugene Lazutkin <eugene at lazutkin.com>
Date: Wed Jan 20 23:18:31 2010 +0000
dojo.clone: changing the DOM node for IE, thx justinc!, !strict, fixes #9763.
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.4/dojo@21196 560b804f-0ae3-0310-86f3-f6aa0a117693
---
_base/lang.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/_base/lang.js b/_base/lang.js
index 7987ffe..839ee4d 100644
--- a/_base/lang.js
+++ b/_base/lang.js
@@ -237,7 +237,7 @@ dojo.provide("dojo._base.lang");
// null, undefined, any non-object, or function
return o; // anything
}
- if(o.nodeType && o.cloneNode){
+ if(o.nodeType && "cloneNode" in o){
// DOM Node
return o.cloneNode(true); // Node
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git
More information about the Pkg-javascript-commits
mailing list