allow for multiple Ox.Clipboards (more like Ox.History)

This commit is contained in:
rlx 2013-08-03 15:01:16 +00:00
parent 66ee836c13
commit 09a114230a

View file

@ -13,7 +13,7 @@ Ox.Clipboard <o> Basic clipboard handler
type <f> Get item type type <f> Get item type
() -> <s|undefined> Item type () -> <s|undefined> Item type
@*/ @*/
Ox.Clipboard = (function() { Ox.Clipboard = function() {
var clipboard = {items: [], type: void 0}, var clipboard = {items: [], type: void 0},
$element; $element;
return { return {
@ -67,4 +67,4 @@ Ox.Clipboard = (function() {
$element && $element.bindEvent.apply(this, arguments); $element && $element.bindEvent.apply(this, arguments);
} }
}; };
}()); };