Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffChangeset.js
| Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | members: { | ||||
| _loaded: false, | _loaded: false, | ||||
| _sequence: 0, | _sequence: 0, | ||||
| _stabilize: false, | _stabilize: false, | ||||
| _renderURI: null, | _renderURI: null, | ||||
| _ref: null, | _ref: null, | ||||
| _rendererKey: null, | _rendererKey: null, | ||||
| _highlight: null, | _highlight: null, | ||||
| _documentEngine: null, | _requestDocumentEngineKey: null, | ||||
| _responseDocumentEngineKey: 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 330 Lines • ▼ Show 20 Lines | members: { | ||||
| getCharacterEncoding: function() { | getCharacterEncoding: function() { | ||||
| return this._characterEncoding; | return this._characterEncoding; | ||||
| }, | }, | ||||
| getHighlight: function() { | getHighlight: function() { | ||||
| return this._highlight; | return this._highlight; | ||||
| }, | }, | ||||
| getDocumentEngine: function(engine) { | getRequestDocumentEngineKey: function() { | ||||
| return this._documentEngine; | return this._requestDocumentEngineKey; | ||||
| }, | |||||
| getResponseDocumentEngineKey: function() { | |||||
| return this._responseDocumentEngineKey; | |||||
| }, | }, | ||||
| getSelectableItems: function() { | getSelectableItems: function() { | ||||
| var items = []; | var items = []; | ||||
| items.push({ | items.push({ | ||||
| type: 'file', | type: 'file', | ||||
| changeset: this, | changeset: this, | ||||
| ▲ Show 20 Lines • Show All 236 Lines • ▼ Show 20 Lines | _loadChangesetState: function(state) { | ||||
| if (state.undoTemplates) { | if (state.undoTemplates) { | ||||
| 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._documentEngine = state.documentEngine; | this._requestDocumentEngineKey = state.requestDocumentEngineKey; | ||||
| this._responseDocumentEngineKey = state.responseDocumentEngineKey; | |||||
| 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 | |||||