/**
* @class XM.StaticModel
*/
- XM.StaticModel = Backbone.Model.extend({
+ XM.StaticModel = Backbone.Model.extend(/** @lends XM.StaticModel# */{
idAttribute: 'key',
}
},
- /**
- * @callback
- * Handle successful fetch response. Obtain lock if necessary, and invoke
- * the optional callback.
- */
+ // Handle successful fetch response. Obtain lock if necessary, and invoke
+ // the optional callback.
afterFetch = function (resp) {
var schema = XT.session.getSchemas()[that.recordType.prefix()],
lockable = schema.get(that.recordType.suffix()).lockable;
var options = _.extend({ }, _options),
userCallback = options.success,
- /**
- * @callback
- * Handle a dispatch response as a Backbone sync response.
- */
+ //Handle a dispatch response as a Backbone sync response.
done = function (model, resp, options) {
model.set(resp, options);
model.setStatus(XM.Model.READY_CLEAN, options);
});
};
- XM.EnyoView = XM.View.extend(/* @lends XM.EnyoView */{
+ XM.EnyoView = XM.View.extend(/** @lends XM.EnyoView# */{
item: {
/**
},
/**
- * @member
* Decorations DSL for List Item. Used by Decorators; feel free to
* override or extend. If empty, the default is used as defined by the
* optional Decorator which wraps this List Item, if present.
list: {
/**
- * @member
* List which actions this list supports. 'method' and 'prerequisite'
* are invoked on the model by default, unless 'isViewMethod' is set to
* true.
],
/**
- * @member
* Describe the query used to populate/sort the list.
*/
query: { /** @example
},
/**
- * @member
* @summary Map model events to Enyo events.
* @desc The events block is employed slightly differently and more powerfully
* in our XM.EnyoView than in a traditional Backbone.View.
},
/**
- * @member
- * jQuery? More like nullQuery! So, a foo walks into a bar...
- *
- * Seriously, this view prefers no knowledge of any jquery-ness, and since
+ * This view prefers no knowledge of any jquery-ness, and since
* implemented an MVP-like design, will refer to its 'el' as 'presenter'
* instead.
*/
@extends XM.Model
*/
- XM.Workflow = XM.Model.extend({
- /** @scope XM.Workflow.prototype */
+ XM.Workflow = XM.Model.extend(
+ /** @lends XM.Workflow# */{
// By default, the completedParentStatus and deferredParentStatus
// values should drive a change to the status of the parent, but
// Workflow status mixin
XM.Workflow = XM.Workflow.extend(XM.WorkflowStatus);
- _.extend(XM.Workflow, {
- /** @scope XM.Workflow */
+ _.extend(XM.Workflow,
+ /** @lends XM.Workflow# */{
/**
Pending status for workflow.
@extends XM.Model
*/
XM.WorkflowSource = XM.Model.extend(
- /** @scope XM.WorkflowSource.prototype */ {
+ /** @lends XM.WorkflowSource# */ {
defaults: function () {
return {
@see XV.RelationsEditor.
*/
var editor = enyo.mixin({}, XV.RelationsEditorMixin);
- editor = enyo.mixin(editor, {
+ editor = enyo.mixin(editor, /** @lends XV.GridEditor */{
name: "XV.GridEditor",
classes: "xv-grid-row selected",
published: {
handlers: {
onValueChange: "controlValueChanged"
},
- /**
- @todo Document the destroy method.
- */
destroy: function () {
if (this.value) {
this.value.off(_events, this.attributesChanged, this);
this.value = null;
this.inherited(arguments);
},
- /**
- @todo Document the setValue method.
- */
setValue: function (value) {
if (this.value) {
this.value.off(_events, this.attributesChanged, this);
(function () {
- enyo.kind({
+ enyo.kind(
+ /** @lends XV.SortPopup# */{
name: "XV.SortPopup",
kind: "onyx.Popup",
classes: "xv-sort-popup",
@name XV.TransactionList
@extends XV.List
*/
- enyo.kind({
+ enyo.kind(
+ /** @lends XV.TransactionList */{
name: "XV.TransactionList",
kind: "XV.List",
published: {
published: {
control: null
},
-
+
create: function () {
this.inherited(arguments);
var controls = this.getClientControls();
* @mixes XV.ModelAttributeFormatters
*/
enyo.kind(
- enyo.mixin(XV.ModelAttributeFormatters, {
+ enyo.mixin(XV.ModelAttributeFormatters, /** @lends XV.ListItemDecorator# */{
name: 'XV.ListItemDecorator',
kind: 'XV.ModelDecorator',
TODO: Move common components here from Filter and Layout forms
*/
- enyo.kind({
+ enyo.kind(/** @lends XV.UserItemForm# */{
name: "XV.UserItemForm",
classes: "xv-filter-form",
events: {
User Item Form for selecting saved layouts, a save drawer for saving
the current layout, and a manage drawer for sharing and deleting layouts.
*/
- enyo.kind({
+ enyo.kind(/** @lends XV.LayoutForm# */{
name: "XV.LayoutForm",
kind: "XV.UserItemForm",
events: {
(function () {
- enyo.kind({
+ enyo.kind(/** @lends XV.SimpleModelTable# */{
name: 'XV.SimpleModelTable',
published: {
template: null
@class A control that allows for building a hierarchial view
@extends FittableRows
*/
- enyo.kind({
+ enyo.kind(
+ /** @lends XV.Tree# */{
name: "XV.Tree",
kind: "FittableRows",
fit: true,