Remove changeView from the plugin API
The plugin.changeView references the non-existing GrChangeViewApi class. Change-Id: I505f7d8fc7a75a36248d41639be5315d7a358dc6
This commit is contained in:
@@ -211,11 +211,6 @@ to be used by plugin authors.
|
||||
|
||||
Note: TODO
|
||||
|
||||
=== changeView
|
||||
`plugin.changeView()`
|
||||
|
||||
Note: TODO
|
||||
|
||||
=== delete
|
||||
`plugin.delete(url, opt_callback)`
|
||||
|
||||
|
||||
@@ -166,7 +166,6 @@ module.exports = {
|
||||
// Instead export variables from modules
|
||||
// TODO(dmfilippov): Remove global variables from polygerrit
|
||||
"Gerrit": "readonly",
|
||||
"GrChangeViewApi": "readonly",
|
||||
"GrEventHelper": "readonly",
|
||||
"GrPluginActionContext": "readonly",
|
||||
"GrPluginRestApi": "readonly",
|
||||
|
||||
@@ -206,10 +206,6 @@ import {GrChangeMetadataApi} from '../../plugins/gr-change-metadata-api/gr-chang
|
||||
return new GrChangeReplyInterface(this);
|
||||
};
|
||||
|
||||
Plugin.prototype.changeView = function() {
|
||||
return new GrChangeViewApi(this);
|
||||
};
|
||||
|
||||
Plugin.prototype.theme = function() {
|
||||
return new GrThemeApi(this);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user