diff options
author | Barak Korren <[email protected]> | 2013-04-02 20:38:07 +0300 |
---|---|---|
committer | Barak Korren <[email protected]> | 2013-04-02 20:38:07 +0300 |
commit | 58a2577d48790c79adfd44bcfd662c980ce6cfe4 (patch) | |
tree | 523d814ea0b7b6f617fe515b186099c6e83fed72 /lib/dojo/dnd/common.js.uncompressed.js | |
parent | e470a273cf09562fb2f9c0c899002303f19c8d16 (diff) | |
parent | cc332603431102a682feda22b9cf0093a29f0176 (diff) |
Merge branch 'master' of https://github.com/gothfox/Tiny-Tiny-RSS.git
Diffstat (limited to 'lib/dojo/dnd/common.js.uncompressed.js')
-rw-r--r-- | lib/dojo/dnd/common.js.uncompressed.js | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/lib/dojo/dnd/common.js.uncompressed.js b/lib/dojo/dnd/common.js.uncompressed.js deleted file mode 100644 index d59e2ea57..000000000 --- a/lib/dojo/dnd/common.js.uncompressed.js +++ /dev/null @@ -1,42 +0,0 @@ -define("dojo/dnd/common", ["../_base/connect", "../_base/kernel", "../_base/lang", "../dom"], - function(connect, kernel, 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; - -exports._uniqueId = 0; -exports.getUniqueId = function(){ - // summary: - // returns a unique string for use with any DOM element - var id; - do{ - id = kernel._scopeName + "Unique" + (++exports._uniqueId); - }while(dom.byId(id)); - return id; -}; - -exports._empty = {}; - -exports.isFormElement = function(/*Event*/ e){ - // summary: - // returns true if user clicked on a form element - var t = e.target; - if(t.nodeType == 3 /*TEXT_NODE*/){ - t = t.parentNode; - } - return " button textarea input select option ".indexOf(" " + t.tagName.toLowerCase() + " ") >= 0; // Boolean -}; - -return exports; -}); |