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
|
Note: TODO
|
||||||
|
|
||||||
=== changeView
|
|
||||||
`plugin.changeView()`
|
|
||||||
|
|
||||||
Note: TODO
|
|
||||||
|
|
||||||
=== delete
|
=== delete
|
||||||
`plugin.delete(url, opt_callback)`
|
`plugin.delete(url, opt_callback)`
|
||||||
|
|
||||||
|
|||||||
@@ -166,7 +166,6 @@ module.exports = {
|
|||||||
// Instead export variables from modules
|
// Instead export variables from modules
|
||||||
// TODO(dmfilippov): Remove global variables from polygerrit
|
// TODO(dmfilippov): Remove global variables from polygerrit
|
||||||
"Gerrit": "readonly",
|
"Gerrit": "readonly",
|
||||||
"GrChangeViewApi": "readonly",
|
|
||||||
"GrEventHelper": "readonly",
|
"GrEventHelper": "readonly",
|
||||||
"GrPluginActionContext": "readonly",
|
"GrPluginActionContext": "readonly",
|
||||||
"GrPluginRestApi": "readonly",
|
"GrPluginRestApi": "readonly",
|
||||||
|
|||||||
@@ -206,10 +206,6 @@ import {GrChangeMetadataApi} from '../../plugins/gr-change-metadata-api/gr-chang
|
|||||||
return new GrChangeReplyInterface(this);
|
return new GrChangeReplyInterface(this);
|
||||||
};
|
};
|
||||||
|
|
||||||
Plugin.prototype.changeView = function() {
|
|
||||||
return new GrChangeViewApi(this);
|
|
||||||
};
|
|
||||||
|
|
||||||
Plugin.prototype.theme = function() {
|
Plugin.prototype.theme = function() {
|
||||||
return new GrThemeApi(this);
|
return new GrThemeApi(this);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user