o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1397508830.1562712: @value", {I" class:ETI"ProcessedAsset;FI"logical_path;TI"6locomotive/views/shared/fields/belongs_to_view.js;FI" pathname;TI"­/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-5337f0929131/app/assets/javascripts/locomotive/views/shared/fields/belongs_to_view.js.coffee;FI"content_type;TI"application/javascript;TI" mtime;TI"2014-04-10T01:06:58+02:00;TI" length;TiÄI" digest;TI"%2b28af83396a045ef348cc7c5acb0f16;FI" source;TI"Ä(function() { var _base, _base1, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; (_base = Locomotive.Views).Shared || (_base.Shared = {}); (_base1 = Locomotive.Views.Shared).Fields || (_base1.Fields = {}); Locomotive.Views.Shared.Fields.BelongsToView = (function(_super) { __extends(BelongsToView, _super); function BelongsToView() { return BelongsToView.__super__.constructor.apply(this, arguments); } BelongsToView.prototype.render = function() { this.enable_select2(); return this; }; BelongsToView.prototype.enable_select2 = function() { var options; options = $(this.el).data(); options.init_selection_fn = function(el, callback) { return callback({ id: el.val(), text: options.value }); }; BelongsToView.__super__.enable_select2.call(this, $(this.el), options); return $(this.el).on('select2-selecting', (function(_this) { return function(el) { return _this.model.set("" + _this.options.name + "_id", el.val); }; })(this)); }; return BelongsToView; })(Locomotive.Views.Shared.Fields.RelationshipView); }).call(this); ;TI"dependency_digest;TI"%31648752e924a6162065c5ae5952edf7;FI"required_paths;T[I"­/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-5337f0929131/app/assets/javascripts/locomotive/views/shared/fields/belongs_to_view.js.coffee;FI"dependency_paths;T[{I" path;TI"­/Users/didier/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/bundler/gems/engine-5337f0929131/app/assets/javascripts/locomotive/views/shared/fields/belongs_to_view.js.coffee;FI" mtime;TI"2014-04-10T01:06:58+02:00;TI" digest;TI"%a29462553360cb09cd4643ddc4e0652b;FI" _version;TI"%ffd318ca8b794f42f5029101c2cf5d91;F