Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/diff/DiffChangeset.js
| /** | /** | ||||
| * @provides phabricator-diff-changeset | * @provides phabricator-diff-changeset | ||||
| * @requires javelin-dom | * @requires javelin-dom | ||||
| * javelin-util | * javelin-util | ||||
| * javelin-stratcom | * javelin-stratcom | ||||
| * javelin-install | * javelin-install | ||||
| * javelin-workflow | * javelin-workflow | ||||
| * javelin-router | * javelin-router | ||||
| * javelin-behavior-device | * javelin-behavior-device | ||||
| * javelin-vector | * javelin-vector | ||||
| * phabricator-diff-inline | * phabricator-diff-inline | ||||
| * phabricator-diff-path-view | * phabricator-diff-path-view | ||||
| * phuix-button-view | * phuix-button-view | ||||
| * javelin-external-editor-link-engine | |||||
| * @javelin | * @javelin | ||||
| */ | */ | ||||
| JX.install('DiffChangeset', { | JX.install('DiffChangeset', { | ||||
| construct : function(node) { | construct : function(node) { | ||||
| this._node = node; | this._node = node; | ||||
| var data = this._getNodeData(); | var data = this._getNodeData(); | ||||
| this._renderURI = data.renderURI; | this._renderURI = data.renderURI; | ||||
| this._ref = data.ref; | this._ref = data.ref; | ||||
| this._loaded = data.loaded; | this._loaded = data.loaded; | ||||
| this._treeNodeID = data.treeNodeID; | this._treeNodeID = data.treeNodeID; | ||||
| this._leftID = data.left; | this._leftID = data.left; | ||||
| this._rightID = data.right; | this._rightID = data.right; | ||||
| this._displayPath = JX.$H(data.displayPath); | this._displayPath = JX.$H(data.displayPath); | ||||
| this._pathParts = data.pathParts; | this._pathParts = data.pathParts; | ||||
| this._icon = data.icon; | this._icon = data.icon; | ||||
| this._editorURI = data.editorURI; | this._editorURITemplate = data.editorURITemplate; | ||||
| this._editorConfigureURI = data.editorConfigureURI; | this._editorConfigureURI = data.editorConfigureURI; | ||||
| this._showPathURI = data.showPathURI; | this._showPathURI = data.showPathURI; | ||||
| this._showDirectoryURI = data.showDirectoryURI; | this._showDirectoryURI = data.showDirectoryURI; | ||||
| this._pathIconIcon = data.pathIconIcon; | this._pathIconIcon = data.pathIconIcon; | ||||
| this._pathIconColor = data.pathIconColor; | this._pathIconColor = data.pathIconColor; | ||||
| this._isLowImportance = data.isLowImportance; | this._isLowImportance = data.isLowImportance; | ||||
| this._isOwned = data.isOwned; | this._isOwned = data.isOwned; | ||||
| Show All 37 Lines | members: { | ||||
| _inlines: null, | _inlines: null, | ||||
| _visible: true, | _visible: true, | ||||
| _displayPath: null, | _displayPath: null, | ||||
| _changesetList: null, | _changesetList: null, | ||||
| _icon: null, | _icon: null, | ||||
| _editorURI: null, | _editorURITemplate: null, | ||||
| _editorConfigureURI: null, | _editorConfigureURI: null, | ||||
| _showPathURI: null, | _showPathURI: null, | ||||
| _showDirectoryURI: null, | _showDirectoryURI: null, | ||||
| _pathView: null, | _pathView: null, | ||||
| _pathIconIcon: null, | _pathIconIcon: null, | ||||
| _pathIconColor: null, | _pathIconColor: null, | ||||
| _isLowImportance: null, | _isLowImportance: null, | ||||
| _isOwned: null, | _isOwned: null, | ||||
| _isHidden: null, | _isHidden: null, | ||||
| _isSelected: false, | _isSelected: false, | ||||
| _viewMenu: null, | _viewMenu: null, | ||||
| getEditorURI: function() { | getEditorURITemplate: function() { | ||||
| return this._editorURI; | return this._editorURITemplate; | ||||
| }, | }, | ||||
| getEditorConfigureURI: function() { | getEditorConfigureURI: function() { | ||||
| return this._editorConfigureURI; | return this._editorConfigureURI; | ||||
| }, | }, | ||||
| getShowPathURI: function() { | getShowPathURI: function() { | ||||
| return this._showPathURI; | return this._showPathURI; | ||||
| ▲ Show 20 Lines • Show All 965 Lines • Show Last 20 Lines | |||||