Sha256: 5339a31e96a6b8b2114a53b82dff2ed9468b51cbec9dd334789a374df21acca5
Contents?: true
Size: 576 Bytes
Versions: 3
Compression:
Stored size: 576 Bytes
Contents
/* --- script: Delete.js description: Deletes a widget or element license: Public domain (http://unlicense.org). authors: Yaroslaff Fedin requires: - LSD.Action provides: - LSD.Action.Delete ... */ LSD.Action.Delete = LSD.Action.build({ enable: function(target) { if (!target.lsd) { var widget = LSD.Module.DOM.find(target); LSD.Module.DOM.walk(target, function(node) { widget.dispatchEvent('nodeRemoved', node); }); return Element.dispose(target); } else return (target['delete'] || target.dispose).call(target); } });
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lsd_rails-0.1.2 | Packages/lsd/Source/Action/Delete.js |
lsd_rails-0.1.1 | Packages/lsd/Source/Action/Delete.js |
lsd_rails-0.1 | Packages/lsd/Source/Action/Delete.js |