[Pkg-javascript-commits] [dojo] 29/88: Merge [29755] to 1.8 branch, making dojox.dnd.manager() available again, fixes #16029, #16036 !strict.
David Prévot
taffit at moszumanska.debian.org
Thu Aug 21 17:39:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag 1.8.5
in repository dojo.
commit 95f1f71e77fd470e6e2e2721112a8e62e2583abb
Author: Bill Keese <bill at dojotoolkit.org>
Date: Thu Oct 11 03:40:09 2012 +0000
Merge [29755] to 1.8 branch, making dojox.dnd.manager() available again, fixes #16029, #16036 !strict.
git-svn-id: http://svn.dojotoolkit.org/src/branches/1.8/dojo@29807 560b804f-0ae3-0310-86f3-f6aa0a117693
---
dnd/common.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dnd/common.js b/dnd/common.js
index 387b9eb..093fd7b 100644
--- a/dnd/common.js
+++ b/dnd/common.js
@@ -4,10 +4,14 @@ define(["../_base/connect", "../_base/kernel", "../_base/lang", "../dom"],
// module:
// dojo/dnd/common
+var exports = lang.getObject("dojo.dnd", true);
+/*=====
+// TODO: for 2.0, replace line above with this code.
var exports = {
// summary:
// TODOC
};
+=====*/
exports.getCopyKeyState = connect.isCopyKey;
@@ -34,8 +38,5 @@ exports.isFormElement = function(/*Event*/ e){
return " button textarea input select option ".indexOf(" " + t.tagName.toLowerCase() + " ") >= 0; // Boolean
};
-// For back-compat, remove for 2.0.
-lang.mixin(lang.getObject("dojo.dnd", true), exports);
-
return exports;
});
--
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