FIX: Bump plugin API version.

This commit is contained in:
Guo Xiang Tan 2016-07-01 09:25:37 +08:00
parent 813fcebdd1
commit d102a079b1
No known key found for this signature in database
GPG Key ID: 19C321C8952B0F72
3 changed files with 3 additions and 3 deletions

View File

@ -336,7 +336,7 @@ class PluginApi {
let _pluginv01;
function getPluginApi(version) {
version = parseFloat(version);
if (version <= 0.4) {
if (version <= 0.5) {
if (!_pluginv01) {
_pluginv01 = new PluginApi(version, Discourse.__container__);
}

View File

@ -30,6 +30,6 @@ export default {
name: "apply-details",
initialize() {
withPluginApi('0.1', initializeDetails);
withPluginApi('0.5', initializeDetails);
}
};

View File

@ -25,6 +25,6 @@ export default {
name: "add-poll-ui-builder",
initialize() {
withPluginApi('0.1', initializePollUIBuilder);
withPluginApi('0.5', initializePollUIBuilder);
}
};