Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffChangeset.js
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | members: { | ||||
_stabilize: false, | _stabilize: false, | ||||
_renderURI: null, | _renderURI: null, | ||||
_ref: null, | _ref: null, | ||||
_rendererKey: null, | _rendererKey: null, | ||||
_highlight: null, | _highlight: null, | ||||
_requestDocumentEngineKey: null, | _requestDocumentEngineKey: null, | ||||
_responseDocumentEngineKey: null, | _responseDocumentEngineKey: null, | ||||
_availableDocumentEngineKeys: null, | |||||
_characterEncoding: null, | _characterEncoding: null, | ||||
_undoTemplates: null, | _undoTemplates: null, | ||||
_leftID: null, | _leftID: null, | ||||
_rightID: null, | _rightID: null, | ||||
_inlines: null, | _inlines: null, | ||||
_visible: true, | _visible: true, | ||||
▲ Show 20 Lines • Show All 338 Lines • ▼ Show 20 Lines | members: { | ||||
getRequestDocumentEngineKey: function() { | getRequestDocumentEngineKey: function() { | ||||
return this._requestDocumentEngineKey; | return this._requestDocumentEngineKey; | ||||
}, | }, | ||||
getResponseDocumentEngineKey: function() { | getResponseDocumentEngineKey: function() { | ||||
return this._responseDocumentEngineKey; | return this._responseDocumentEngineKey; | ||||
}, | }, | ||||
getAvailableDocumentEngineKeys: function() { | |||||
return this._availableDocumentEngineKeys; | |||||
}, | |||||
getSelectableItems: function() { | getSelectableItems: function() { | ||||
var items = []; | var items = []; | ||||
items.push({ | items.push({ | ||||
type: 'file', | type: 'file', | ||||
changeset: this, | changeset: this, | ||||
target: this, | target: this, | ||||
nodes: { | nodes: { | ||||
▲ Show 20 Lines • Show All 236 Lines • ▼ Show 20 Lines | _loadChangesetState: function(state) { | ||||
this._undoTemplates = state.undoTemplates; | this._undoTemplates = state.undoTemplates; | ||||
} | } | ||||
this._rendererKey = state.rendererKey; | this._rendererKey = state.rendererKey; | ||||
this._highlight = state.highlight; | this._highlight = state.highlight; | ||||
this._characterEncoding = state.characterEncoding; | this._characterEncoding = state.characterEncoding; | ||||
this._requestDocumentEngineKey = state.requestDocumentEngineKey; | this._requestDocumentEngineKey = state.requestDocumentEngineKey; | ||||
this._responseDocumentEngineKey = state.responseDocumentEngineKey; | this._responseDocumentEngineKey = state.responseDocumentEngineKey; | ||||
this._availableDocumentEngineKeys = state.availableDocumentEngineKeys; | |||||
this._isHidden = state.isHidden; | this._isHidden = state.isHidden; | ||||
var is_hidden = !this.isVisible(); | var is_hidden = !this.isVisible(); | ||||
if (this._isHidden != is_hidden) { | if (this._isHidden != is_hidden) { | ||||
this.setVisible(!this._isHidden); | this.setVisible(!this._isHidden); | ||||
} | } | ||||
this._isLoading = false; | this._isLoading = false; | ||||
▲ Show 20 Lines • Show All 364 Lines • Show Last 20 Lines |