spec/dummy/tmp/cache/assets/D0E/2E0/sprockets%2F4a4bfb6542664b7912f800e18ce7e4c2 in locomotivecms-search-0.3.0 vs spec/dummy/tmp/cache/assets/D0E/2E0/sprockets%2F4a4bfb6542664b7912f800e18ce7e4c2 in locomotivecms-search-0.3.2
- old
+ new
@@ -1,8 +1,8 @@
-o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1396022042.161833:@value"{I"
+o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1397482266.740142:@value"µ{I"
class:ETI"BundledAsset; FI"logical_path; TI"locomotive.js; TI"
pathname; TI"V/Users/didier/Documents/LocomotiveCMS/engine/app/assets/javascripts/locomotive.js; FI"content_type; TI"application/javascript; TI"
-mtime; TI"2014-03-20T10:46:19+01:00; TI"length; Ti3I"digest; TI"%2f328578df55c9afe9bb5173af68e1cf; FI"source; TI"3/*!
+mtime; TI"2014-04-09T15:03:07+02:00; TI"length; TiÐI"digest; TI"%343bf10078213f906ec4936706ae1031; FI"source; TI"Ð/*!
* jQuery JavaScript Library v1.8.3
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
@@ -38315,11 +38315,11 @@
self.templates[name] = Handlebars.compile(templateString);
self[name] = function (data, title, raw) {
data = data || {};
var result = self.templates[name](data);
- return raw? result: $(result);
+ return raw? result: $(result.trim());
};
};
// public function for adding partials
self.addPartial = function (name, templateString) {
@@ -44360,11 +44360,11 @@
crop: false
}
}
},
i18n: {
- available: ['en', 'fr', 'pl', 'pt-BR', 'es', 'de', 'no', 'ru', 'nl', 'ja', 'cs', 'bg']
+ available: ['en', 'fr', 'pl', 'pt-BR', 'es', 'de', 'no', 'ru', 'nl', 'ja', 'cs', 'bg', 'sk']
},
sidebar: {
disabled: true
},
toolbar: {
@@ -46054,22 +46054,21 @@
})(Locomotive.Views.Shared.AssetPickerView);
}).call(this);
(function() {
- var _base, _ref,
+ var _base,
__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 = {});
Locomotive.Views.Shared.FormView = (function(_super) {
__extends(FormView, _super);
function FormView() {
- _ref = FormView.__super__.constructor.apply(this, arguments);
- return _ref;
+ return FormView.__super__.constructor.apply(this, arguments);
}
FormView.prototype.el = '#content';
FormView.prototype.namespace = null;
@@ -46084,12 +46083,11 @@
};
FormView.prototype.save = function(event) {};
FormView.prototype.save_in_ajax = function(event, options) {
- var form, previous_attributes, xhr,
- _this = this;
+ var form, previous_attributes, xhr;
event.stopPropagation() & event.preventDefault();
this.trigger_change_event_on_focused_inputs();
form = $(event.target).trigger('ajax:beforeSend');
this.clear_errors();
options || (options = {
@@ -46100,45 +46098,50 @@
previous_attributes = _.clone(this.model.attributes);
xhr = this.model.save({}, {
headers: options.headers,
silent: true
});
- xhr.success(function(model, response, _options) {
- form.trigger('ajax:complete');
- _this.model.set(previous_attributes);
- model.attributes = previous_attributes;
- if (options.on_success) {
- return options.on_success(model, xhr);
- }
- });
- return xhr.error(function(model, xhr) {
- var errors;
- form.trigger('ajax:complete');
- errors = JSON.parse(model.responseText);
- _this.show_errors(errors);
- if (options.on_error) {
- return options.on_error();
- }
- });
+ xhr.success((function(_this) {
+ return function(model, response, _options) {
+ form.trigger('ajax:complete');
+ _this.model.set(previous_attributes);
+ model.attributes = previous_attributes;
+ if (options.on_success) {
+ return options.on_success(model, xhr);
+ }
+ };
+ })(this));
+ return xhr.error((function(_this) {
+ return function(model, xhr) {
+ var errors;
+ form.trigger('ajax:complete');
+ errors = JSON.parse(model.responseText);
+ _this.show_errors(errors);
+ if (options.on_error) {
+ return options.on_error();
+ }
+ };
+ })(this));
};
FormView.prototype.make_title_editable = function() {
- var target, title,
- _this = this;
+ var target, title;
title = this.$('h2 a.editable');
if (title.size() > 0) {
target = this.$("#" + (title.attr('rel')));
target.parent().hide();
- return title.click(function(event) {
- var newValue;
- event.stopPropagation() & event.preventDefault();
- newValue = prompt(title.attr('title'), title.html());
- if (newValue && newValue !== '') {
- title.html(newValue);
- return target.val(newValue).trigger('change');
- }
- });
+ return title.click((function(_this) {
+ return function(event) {
+ var newValue;
+ event.stopPropagation() & event.preventDefault();
+ newValue = prompt(title.attr('title'), title.html());
+ if (newValue && newValue !== '') {
+ title.html(newValue);
+ return target.val(newValue).trigger('change');
+ }
+ };
+ })(this));
}
};
FormView.prototype.make_inputs_foldable = function() {
var self;
@@ -46161,21 +46164,22 @@
});
};
FormView.prototype.trigger_change_event_on_focused_inputs = function() {
var input;
- input = this.$('form input[type=text]:focus, form input[type=password]:focus, form textarea:focus');
+ input = this.$('form input[type=text]:focus, form input[type=password]:focus, form input[type=number]:focus, form textarea:focus');
if (input.size() > 0) {
return input.trigger('change');
}
};
FormView.prototype.enable_save_with_keys_combination = function() {
- var _this = this;
- return $.cmd('S', (function() {
- return _this.$('form input[type=submit]').trigger('click');
- }), [], {
+ return $.cmd('S', ((function(_this) {
+ return function() {
+ return _this.$('form input[type=submit]').trigger('click');
+ };
+ })(this)), [], {
ignoreCase: true
});
};
FormView.prototype.enable_form_notifications = function() {
@@ -46222,42 +46226,46 @@
}
return anchor.after(html);
};
FormView.prototype._enable_checkbox = function(name, options) {
- var model_name,
- _this = this;
+ var model_name;
options || (options = {});
model_name = options.model_name || this.model.paramRoot;
return this.$("li#" + model_name + "_" + name + "_input input[type=checkbox]").checkToggle({
- on_callback: function() {
- _.each(options.features, function(exp) {
- return this.$("li#" + model_name + "_" + exp + "_input").hide();
- });
- if (options.on_callback != null) {
- options.on_callback();
- }
- return _this._hide_last_separator();
- },
- off_callback: function() {
- _.each(options.features, function(exp) {
- return this.$("li#" + model_name + "_" + exp + "_input").show();
- });
- if (options.off_callback != null) {
- options.off_callback();
- }
- return _this._hide_last_separator();
- }
+ on_callback: (function(_this) {
+ return function() {
+ _.each(options.features, function(exp) {
+ return this.$("li#" + model_name + "_" + exp + "_input").hide();
+ });
+ if (options.on_callback != null) {
+ options.on_callback();
+ }
+ return _this._hide_last_separator();
+ };
+ })(this),
+ off_callback: (function(_this) {
+ return function() {
+ _.each(options.features, function(exp) {
+ return this.$("li#" + model_name + "_" + exp + "_input").show();
+ });
+ if (options.off_callback != null) {
+ options.off_callback();
+ }
+ return _this._hide_last_separator();
+ };
+ })(this)
});
};
FormView.prototype._hide_last_separator = function() {
- var _this = this;
- return _.each(this.$('fieldset'), function(fieldset) {
- $(fieldset).find('li.last').removeClass('last');
- return $(_.last($(fieldset).find('li.input:visible'))).addClass('last');
- });
+ return _.each(this.$('fieldset'), (function(_this) {
+ return function(fieldset) {
+ $(fieldset).find('li.last').removeClass('last');
+ return $(_.last($(fieldset).find('li.input:visible'))).addClass('last');
+ };
+ })(this));
};
return FormView;
})(Backbone.View);
@@ -46795,22 +46803,21 @@
})(Locomotive.Views.ContentEntries.FormView);
}).call(this);
(function() {
- var _base, _ref,
+ var _base,
__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).ContentTypes || (_base.ContentTypes = {});
Locomotive.Views.ContentTypes.FormView = (function(_super) {
__extends(FormView, _super);
function FormView() {
- _ref = FormView.__super__.constructor.apply(this, arguments);
- return _ref;
+ return FormView.__super__.constructor.apply(this, arguments);
}
FormView.prototype.el = '#content';
FormView.prototype.events = {
@@ -46847,78 +46854,84 @@
underscore: true
});
};
FormView.prototype.enable_liquid_editing = function() {
- var input,
- _this = this;
+ var input;
input = this.$('#content_type_raw_item_template');
this.editor = CodeMirror.fromTextArea(input.get()[0], {
mode: 'liquid',
autoMatchParens: false,
lineNumbers: false,
passDelay: 50,
tabMode: 'shift',
theme: 'default'
});
- return this.editor.on('change', function(editor, change) {
- return _this.model.set({
- raw_item_template: editor.getValue()
- });
- });
+ return this.editor.on('change', (function(_this) {
+ return function(editor, change) {
+ return _this.model.set({
+ raw_item_template: editor.getValue()
+ });
+ };
+ })(this));
};
FormView.prototype.after_inputs_fold = function() {
return this.editor.refresh();
};
FormView.prototype.enable_public_submission_checkbox = function() {
- var _this = this;
return this._enable_checkbox('public_submission_enabled', {
- on_callback: function() {
- return _this.$('#content_type_public_submission_accounts_input').show();
- },
- off_callback: function() {
- return _this.$('#content_type_public_submission_accounts_input').hide();
- }
+ on_callback: (function(_this) {
+ return function() {
+ return _this.$('#content_type_public_submission_accounts_input').show();
+ };
+ })(this),
+ off_callback: (function(_this) {
+ return function() {
+ return _this.$('#content_type_public_submission_accounts_input').hide();
+ };
+ })(this)
});
};
FormView.prototype.enable_order_by_toggler = function() {
- var _this = this;
- return this.$('#content_type_order_by_input').bind('change', function(event) {
- var target;
- target = _this.$('#content_type_order_direction_input');
- if ($(event.target).val() === '_position') {
- return target.hide();
- } else {
- return target.show();
- }
- });
+ return this.$('#content_type_order_by_input').bind('change', (function(_this) {
+ return function(event) {
+ var target;
+ target = _this.$('#content_type_order_direction_input');
+ if ($(event.target).val() === '_position') {
+ return target.hide();
+ } else {
+ return target.show();
+ }
+ };
+ })(this));
};
FormView.prototype.show_error = function(attribute, message, html) {
- var _this = this;
if (attribute !== 'entries_custom_fields') {
return FormView.__super__.show_error.apply(this, arguments);
} else {
if (_.isEmpty(message)) {
return;
}
- return _.each(_.keys(message), function(key) {
- var view, _messages;
- _messages = message[key];
- if (key === 'base') {
- html = $("<div class=\"inline-errors\"><p>" + _messages[0] + "</p></div>");
- return _this.$('#custom_fields_input .list').after(html);
- } else {
- view = _this.custom_fields_view.find_entry_view(key);
- if (view != null) {
- return view.show_error(_messages[0]);
+ return _.each(_.keys(message), (function(_this) {
+ return function(key) {
+ var view, _messages;
+ _messages = message[key];
+ if (key === 'base') {
+ html = $("<div class=\"inline-errors\"><p>" + _messages[0] + "</p></div>");
+ return _this.$('#custom_fields_input .list').after(html);
+ } else {
+ view = _this.custom_fields_view.find_entry_view(key);
+ if (view != null) {
+ return view.show_error(_messages[0]);
+ }
}
- }
- });
+ };
+ })(this));
}
};
FormView.prototype.remove = function() {
this.custom_fields_view.remove();
@@ -47542,22 +47555,21 @@
})(Backbone.View);
}).call(this);
(function() {
- var _base, _ref,
+ var _base,
__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).CurrentSite || (_base.CurrentSite = {});
Locomotive.Views.CurrentSite.EditView = (function(_super) {
__extends(EditView, _super);
function EditView() {
- _ref = EditView.__super__.constructor.apply(this, arguments);
- return _ref;
+ return EditView.__super__.constructor.apply(this, arguments);
}
EditView.prototype.el = '#content';
EditView.prototype.events = {
@@ -47591,23 +47603,24 @@
}
});
};
EditView.prototype.make_locales_sortable = function() {
- var _this = this;
return this.sortable_locales_list = this.$('#site_locales_input .list').sortable({
items: '.entry',
tolerance: 'pointer',
- update: function() {
- var list;
- list = _.map(_this.$('#site_locales_input .list input:checked'), function(el) {
- return $(el).val();
- });
- return _this.model.set({
- locales: list
- });
- }
+ update: (function(_this) {
+ return function() {
+ var list;
+ list = _.map(_this.$('#site_locales_input .list input:checked'), function(el) {
+ return $(el).val();
+ });
+ return _this.model.set({
+ locales: list
+ });
+ };
+ })(this)
});
};
EditView.prototype.render_domains = function() {
this.domains_view = new Locomotive.Views.Sites.DomainsView({
@@ -47623,27 +47636,28 @@
});
return this.$('#site_memberships_input').append(this.memberships_view.render().el);
};
EditView.prototype.enable_liquid_editing = function() {
- var input,
- _this = this;
+ var input;
if (($('#site_robots_txt').length)) {
input = this.$('#site_robots_txt');
this.editor = CodeMirror.fromTextArea(input.get()[0], {
mode: 'liquid',
autoMatchParens: false,
lineNumbers: false,
passDelay: 50,
tabMode: 'shift',
theme: 'default'
});
- return this.editor.on('change', function(editor, change) {
- return _this.model.set({
- robots_txt: editor.getValue()
- });
- });
+ return this.editor.on('change', (function(_this) {
+ return function(editor, change) {
+ return _this.model.set({
+ robots_txt: editor.getValue()
+ });
+ };
+ })(this));
}
};
EditView.prototype.save = function(event) {
if (!this.model.get('subdomain') || this.model.includes_domain(window.location.host)) {
@@ -48348,22 +48362,21 @@
})(Backbone.View);
}).call(this);
(function() {
- var _base, _ref,
+ var _base,
__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).MyAccount || (_base.MyAccount = {});
Locomotive.Views.MyAccount.EditView = (function(_super) {
__extends(EditView, _super);
function EditView() {
- _ref = EditView.__super__.constructor.apply(this, arguments);
- return _ref;
+ return EditView.__super__.constructor.apply(this, arguments);
}
EditView.prototype.el = '#content';
EditView.prototype.events = {
@@ -48385,22 +48398,23 @@
return this.save_in_ajax(event);
}
};
EditView.prototype.regenerate_api_key = function(event) {
- var button,
- _this = this;
+ var button;
event.stopPropagation() & event.preventDefault();
button = $(event.target);
if (confirm(button.data('confirm'))) {
return $.rails.ajax({
url: button.data('url'),
type: 'put',
dataType: 'json',
- success: function(data) {
- return button.prev('code').html(data.api_key);
- }
+ success: (function(_this) {
+ return function(data) {
+ return button.prev('code').html(data.api_key);
+ };
+ })(this)
});
}
};
return EditView;
@@ -49496,22 +49510,21 @@
})(Backbone.View);
}).call(this);
(function() {
- var _base, _ref,
+ var _base,
__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 = {});
Locomotive.Views.Shared.ListItemView = (function(_super) {
__extends(ListItemView, _super);
function ListItemView() {
- _ref = ListItemView.__super__.constructor.apply(this, arguments);
- return _ref;
+ return ListItemView.__super__.constructor.apply(this, arguments);
}
ListItemView.prototype.tagName = 'li';
ListItemView.prototype.events = {
@@ -49525,11 +49538,11 @@
return this;
};
ListItemView.prototype.remove_item = function(event) {
event.stopPropagation() & event.preventDefault();
- if (confirm($(event.target).data('confirm'))) {
+ if (confirm($(event.target).closest('a').data('confirm'))) {
return this.model.destroy();
}
};
return ListItemView;
@@ -49788,22 +49801,21 @@
})(Backbone.View);
}).call(this);
(function() {
- var _base, _ref,
+ var _base,
__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).Sites || (_base.Sites = {});
Locomotive.Views.Sites.NewView = (function(_super) {
__extends(NewView, _super);
function NewView() {
- _ref = NewView.__super__.constructor.apply(this, arguments);
- return _ref;
+ return NewView.__super__.constructor.apply(this, arguments);
}
NewView.prototype.el = '#content';
NewView.prototype.events = {
@@ -49982,22 +49994,21 @@
})(Locomotive.Views.Snippets.FormView);
}).call(this);
(function() {
- var _base, _ref,
+ var _base,
__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).Snippets || (_base.Snippets = {});
Locomotive.Views.Snippets.ListItemView = (function(_super) {
__extends(ListItemView, _super);
function ListItemView() {
- _ref = ListItemView.__super__.constructor.apply(this, arguments);
- return _ref;
+ return ListItemView.__super__.constructor.apply(this, arguments);
}
ListItemView.prototype.template = function() {
return ich.snippet_item;
};
@@ -50069,22 +50080,21 @@
})(Locomotive.Views.Snippets.FormView);
}).call(this);
(function() {
- var _base, _ref,
+ var _base,
__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).ThemeAssets || (_base.ThemeAssets = {});
Locomotive.Views.ThemeAssets.FormView = (function(_super) {
__extends(FormView, _super);
function FormView() {
- _ref = FormView.__super__.constructor.apply(this, arguments);
- return _ref;
+ return FormView.__super__.constructor.apply(this, arguments);
}
FormView.prototype.el = '#content';
FormView.prototype.events = {
@@ -50110,50 +50120,52 @@
this.enable_source_file();
return this;
};
FormView.prototype.enable_toggle_between_file_and_text = function() {
- var _this = this;
this.$('div.hidden').hide();
this.model.set({
performing_plain_text: this.$('#theme_asset_performing_plain_text').val()
});
- return this.$('.selector > a.alt').click(function(event) {
- event.stopPropagation() & event.preventDefault();
- if (_this.$('#file-selector').is(':hidden')) {
- return _this.$('#text-selector').slideUp('normal', function() {
- _this.$('#file-selector').slideDown();
- _this.model.set({
- performing_plain_text: false
+ return this.$('.selector > a.alt').click((function(_this) {
+ return function(event) {
+ event.stopPropagation() & event.preventDefault();
+ if (_this.$('#file-selector').is(':hidden')) {
+ return _this.$('#text-selector').slideUp('normal', function() {
+ _this.$('#file-selector').slideDown();
+ _this.model.set({
+ performing_plain_text: false
+ });
+ return _this.$('input#theme_asset_performing_plain_text').val(false);
});
- return _this.$('input#theme_asset_performing_plain_text').val(false);
- });
- } else {
- return _this.$('#file-selector').slideUp('normal', function() {
- _this.$('#text-selector').slideDown('normal', function() {
- return _this.editor.refresh();
+ } else {
+ return _this.$('#file-selector').slideUp('normal', function() {
+ _this.$('#text-selector').slideDown('normal', function() {
+ return _this.editor.refresh();
+ });
+ _this.model.set({
+ performing_plain_text: true
+ });
+ return _this.$('#theme_asset_performing_plain_text').val(true);
});
- _this.model.set({
- performing_plain_text: true
- });
- return _this.$('#theme_asset_performing_plain_text').val(true);
- });
- }
- });
+ }
+ };
+ })(this));
};
FormView.prototype.enable_source_file = function() {
- var _this = this;
- return this.$('.formtastic #theme_asset_source').bind('change', function(event) {
- var input;
- input = $(event.target)[0];
- if (input.files != null) {
- return _this.model.set({
- source: input.files[0]
- });
- }
- });
+ return this.$('.formtastic #theme_asset_source').bind('change', (function(_this) {
+ return function(event) {
+ var input;
+ input = $(event.target)[0];
+ if (input.files != null) {
+ return _this.model.set({
+ source: input.files[0]
+ });
+ }
+ };
+ })(this));
};
FormView.prototype.show_error = function(attribute, message, html) {
switch (attribute) {
case 'source':
@@ -50183,12 +50195,11 @@
return 'css';
}
};
FormView.prototype.enable_source_editing = function() {
- var input,
- _this = this;
+ var input;
input = this.$('#theme_asset_plain_text');
if (input.size() === 0) {
return;
}
this.editor = CodeMirror.fromTextArea(input.get()[0], {
@@ -50197,22 +50208,25 @@
lineNumbers: false,
passDelay: 50,
tabMode: 'shift',
theme: 'default'
});
- return this.editor.on('change', function(editor, change) {
- return _this.model.set({
- plain_text: editor.getValue()
- });
- });
+ return this.editor.on('change', (function(_this) {
+ return function(editor, change) {
+ return _this.model.set({
+ plain_text: editor.getValue()
+ });
+ };
+ })(this));
};
FormView.prototype.bind_source_mode = function() {
- var _this = this;
- return this.$('#theme_asset_plain_text_type').bind('change', function(event) {
- return _this.editor.setOption('mode', _this.source_mode());
- });
+ return this.$('#theme_asset_plain_text_type').bind('change', (function(_this) {
+ return function(event) {
+ return _this.editor.setOption('mode', _this.source_mode());
+ };
+ })(this));
};
FormView.prototype.after_inputs_fold = function() {
if (this.editor != null) {
return this.editor.refresh();
@@ -50506,22 +50520,21 @@
})(Backbone.View);
}).call(this);
(function() {
- var _base, _ref,
+ var _base,
__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).ThemeAssets || (_base.ThemeAssets = {});
Locomotive.Views.ThemeAssets.ListItemView = (function(_super) {
__extends(ListItemView, _super);
function ListItemView() {
- _ref = ListItemView.__super__.constructor.apply(this, arguments);
- return _ref;
+ return ListItemView.__super__.constructor.apply(this, arguments);
}
ListItemView.prototype.template = function() {
return ich.editable_theme_asset_item;
};
@@ -50593,22 +50606,21 @@
})(Locomotive.Views.ThemeAssets.FormView);
}).call(this);
(function() {
- var _base, _ref,
+ var _base,
__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).Translations || (_base.Translations = {});
Locomotive.Views.Translations.FormView = (function(_super) {
__extends(FormView, _super);
function FormView() {
- _ref = FormView.__super__.constructor.apply(this, arguments);
- return _ref;
+ return FormView.__super__.constructor.apply(this, arguments);
}
FormView.prototype.el = '#content';
FormView.prototype.events = {
@@ -50706,6 +50718,6 @@
$(document).ready(function() {
$.datepicker.setDefaults($.datepicker.regional[window.locale]);
});
-; TI"required_assets_digest; TI"%b00294ded64bfd6313083a653b4b4b7a; FI"
_version; TI"%ffd318ca8b794f42f5029101c2cf5d91; F
+; TI"required_assets_digest; TI"%f0f993753f716b81503760198ebc75c2; FI"
_version; TI"%ffd318ca8b794f42f5029101c2cf5d91; F
\ No newline at end of file