X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fquickedit%2Fjs%2Fmodels%2FAppModel.js;h=0a2396ae0ed66ffd923582c67b0e91d7de6e8667;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=6c473ac97497a898fec96ed2ce1e5b796ba08f9a;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/quickedit/js/models/AppModel.js b/web/core/modules/quickedit/js/models/AppModel.js index 6c473ac97..0a2396ae0 100644 --- a/web/core/modules/quickedit/js/models/AppModel.js +++ b/web/core/modules/quickedit/js/models/AppModel.js @@ -1,57 +1,18 @@ /** - * @file - * A Backbone Model for the state of the in-place editing application. - * - * @see Drupal.quickedit.AppView - */ +* DO NOT EDIT THIS FILE. +* See the following change record for more information, +* https://www.drupal.org/node/2815083 +* @preserve +**/ (function (Backbone, Drupal) { - - 'use strict'; - - /** - * @constructor - * - * @augments Backbone.Model - */ - Drupal.quickedit.AppModel = Backbone.Model.extend(/** @lends Drupal.quickedit.AppModel# */{ - - /** - * @type {object} - * - * @prop {Drupal.quickedit.FieldModel} highlightedField - * @prop {Drupal.quickedit.FieldModel} activeField - * @prop {Drupal.dialog~dialogDefinition} activeModal - */ - defaults: /** @lends Drupal.quickedit.AppModel# */{ - - /** - * The currently state='highlighted' Drupal.quickedit.FieldModel, if any. - * - * @type {Drupal.quickedit.FieldModel} - * - * @see Drupal.quickedit.FieldModel.states - */ + Drupal.quickedit.AppModel = Backbone.Model.extend({ + defaults: { highlightedField: null, - /** - * The currently state = 'active' Drupal.quickedit.FieldModel, if any. - * - * @type {Drupal.quickedit.FieldModel} - * - * @see Drupal.quickedit.FieldModel.states - */ activeField: null, - /** - * Reference to a {@link Drupal.dialog} instance if a state change - * requires confirmation. - * - * @type {Drupal.dialog~dialogDefinition} - */ activeModal: null } - }); - -}(Backbone, Drupal)); +})(Backbone, Drupal); \ No newline at end of file