{:uriI"file:///usr/local/bundle/bundler/gems/solidus-28213ce2047d/backend/app/assets/javascripts/spree/backend/views/cart/add_line_item_button.js?type=application/javascript&pipeline=self&id=43e88821420abc57d8023a03dbc4181eca11ad3e67f7c1b5cc7d10810672173a:ET:load_pathI"W/usr/local/bundle/bundler/gems/solidus-28213ce2047d/backend/app/assets/javascripts;T: filenameI"/usr/local/bundle/bundler/gems/solidus-28213ce2047d/backend/app/assets/javascripts/spree/backend/views/cart/add_line_item_button.js;T: nameI"2spree/backend/views/cart/add_line_item_button;T:logical_pathI":spree/backend/views/cart/add_line_item_button.self.js;T:content_typeI"application/javascript;T: sourceI"Spree.Views.Cart.AddLineItemButton = Backbone.View.extend({ initialize: function() { this.listenTo(this.collection, 'update', this.render); this.render(); }, events: { "click": "onClick" }, onClick: function() { this.collection.push({}); }, render: function() { var isNew = function(item) { return item.isNew() }; this.$el.prop("disabled", !this.collection.length || this.collection.some(isNew)); } }); ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///usr/local/bundle/bundler/gems/solidus-28213ce2047d/backend/app/assets/javascripts/spree/backend/views/cart/add_line_item_button.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: to_loado;;}F: to_linko;;}F:map{ I" version;TiI" file;TI"5spree/backend/views/cart/add_line_item_button.js;TI" mappings;TI"cAAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;TI" sources;T[I"#add_line_item_button.source.js;TI" names;T[I"x_sprockets_linecount;Ti: charsetI" utf-8;F: digest"%QQ 220uKFV5]آUm: lengthi:environment_versionI"1.0;T:dependencies_digest"%ORLvc'M.%o}h"R}:idI"E43e88821420abc57d8023a03dbc4181eca11ad3e67f7c1b5cc7d10810672173a;F