Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

get rid of unnecessary statements

  • Loading branch information...
commit 035b7ea69157de6524acf019a04479eabaadf52c 1 parent e03eebb
@bluesmoon authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 boomerang.js
View
6 boomerang.js
@@ -282,7 +282,7 @@ boomr = {
for(k in this.plugins) {
if(this.plugins.hasOwnProperty(k)) {
- // config[pugin].enabled has been set to false
+ // config[plugin].enabled has been set to false
if( config[k]
&& config[k].hasOwnProperty("enabled")
&& config[k].enabled === false
@@ -290,7 +290,9 @@ boomr = {
impl.disabled_plugins[k] = 1;
continue;
}
- else if(impl.disabled_plugins[k]) {
+
+ // plugin was previously disabled but is now enabled
+ if(impl.disabled_plugins[k]) {
delete impl.disabled_plugins[k];
}
Please sign in to comment.
Something went wrong with that request. Please try again.