Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffChangeset.js
Show All 25 Lines | construct : function(node) { | ||||
this._renderer = data.renderer; | this._renderer = data.renderer; | ||||
this._highlight = data.highlight; | this._highlight = data.highlight; | ||||
this._encoding = data.encoding; | this._encoding = data.encoding; | ||||
this._loaded = data.loaded; | this._loaded = data.loaded; | ||||
this._leftID = data.left; | this._leftID = data.left; | ||||
this._rightID = data.right; | this._rightID = data.right; | ||||
this._path = data.path; | this._displayPath = JX.$H(data.displayPath); | ||||
this._objectiveName = data.objectiveName; | this._objectiveName = data.objectiveName; | ||||
this._icon = data.icon; | this._icon = data.icon; | ||||
this._inlines = []; | this._inlines = []; | ||||
}, | }, | ||||
members: { | members: { | ||||
_node: null, | _node: null, | ||||
Show All 11 Lines | members: { | ||||
_leftID: null, | _leftID: null, | ||||
_rightID: null, | _rightID: null, | ||||
_inlines: null, | _inlines: null, | ||||
_visible: true, | _visible: true, | ||||
_undoNode: null, | _undoNode: null, | ||||
_path: null, | _displayPath: null, | ||||
_changesetList: null, | _changesetList: null, | ||||
_objective: null, | _objective: null, | ||||
_objectiveName: null, | _objectiveName: null, | ||||
_icon: null, | _icon: null, | ||||
getLeftChangesetID: function() { | getLeftChangesetID: function() { | ||||
return this._leftID; | return this._leftID; | ||||
▲ Show 20 Lines • Show All 201 Lines • ▼ Show 20 Lines | _startContentWorkflow: function(workflow) { | ||||
routable | routable | ||||
.setPriority(500) | .setPriority(500) | ||||
.setType('content') | .setType('content') | ||||
.setKey(this._getRoutableKey()); | .setKey(this._getRoutableKey()); | ||||
JX.Router.getInstance().queue(routable); | JX.Router.getInstance().queue(routable); | ||||
}, | }, | ||||
getPath: function() { | getDisplayPath: function() { | ||||
return this._path; | return this._displayPath; | ||||
}, | }, | ||||
/** | /** | ||||
* Receive a response to a context request. | * Receive a response to a context request. | ||||
*/ | */ | ||||
_oncontext: function(target, response) { | _oncontext: function(target, response) { | ||||
// TODO: This should be better structured. | // TODO: This should be better structured. | ||||
// If the response comes back with several top-level nodes, the last one | // If the response comes back with several top-level nodes, the last one | ||||
▲ Show 20 Lines • Show All 495 Lines • Show Last 20 Lines |