Sha256: 25e964333946dd8f128e7e257a578d2e8f0e7a3967109fca8d18d35f1e0e6558
Contents?: true
Size: 1.68 KB
Versions: 2
Compression:
Stored size: 1.68 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"%rubber_ring/duplicable_editor.js; FI" pathname; TI"g/Users/zigomir/development/rubber_ring/app/assets/javascripts/rubber_ring/duplicable_editor.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+û!…QI"length; Ti^I"digest; TI"%2b7034b15bee7fb79e0cf3bcb43cd67b; FI"source; TI"^(function() { this.DuplicableEditor = (function() { function DuplicableEditor(action_btns) { this.action_btns = action_btns; this.pm = new PersistenceManager(action_btns); } DuplicableEditor.prototype.init = function() { var _this = this; return $("#rr-repeat .repeat").click(function(e) { var $input, action, key, new_val, val; key = $(e.currentTarget).data("cms"); action = $(e.currentTarget).data("action"); $input = $("#" + key); val = $input.val(); new_val = parseInt(val, 10) + (action === "add" ? 1 : -1); if (new_val > 0) { $input.val(new_val); return _this.pm.save($input).then(function() { return window.location.reload(true); }); } }); }; return DuplicableEditor; })(); }).call(this); ; TI"dependency_digest; TI"%414a92414038c9b96639cd1b875685fe; FI"required_paths; T[I"g/Users/zigomir/development/rubber_ring/app/assets/javascripts/rubber_ring/duplicable_editor.coffee; FI"dependency_paths; T[{I" path; TI"g/Users/zigomir/development/rubber_ring/app/assets/javascripts/rubber_ring/duplicable_editor.coffee; FI" mtime; TI"2013-05-04T16:58:03+02:00; TI"digest; TI"%db2eb15ba16b217477957834811f25a2; FI" _version; TI"%1e2632a10b8c877576b37720d5bf8883; F
Version data entries
2 entries across 2 versions & 1 rubygems