| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | 1× 14× 1× 15× 1× 3× 3× 3× 1× 10× | /**
* A clip board stub
*/
export default function Clipboard() {}
Clipboard.prototype.get = function() {
return this._data;
};
Clipboard.prototype.set = function(data) {
this._data = data;
};
Clipboard.prototype.clear = function() {
var data = this._data;
delete this._data;
return data;
};
Clipboard.prototype.isEmpty = function() {
return !this._data;
}; |