diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-04-26 15:51:52 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-04-26 15:51:52 +0200 |
commit | 7a46d3b4977bcd1e115324880a409e88032899a7 (patch) | |
tree | e2294e1054c5301a03f91ae7685ca3efcf92cc9b /lib/models | |
parent | 357aa92e31df8f4809ebb01438878ec3ace96ae6 (diff) | |
download | gitbook-7a46d3b4977bcd1e115324880a409e88032899a7.zip gitbook-7a46d3b4977bcd1e115324880a409e88032899a7.tar.gz gitbook-7a46d3b4977bcd1e115324880a409e88032899a7.tar.bz2 |
Add command "serve"
Diffstat (limited to 'lib/models')
-rw-r--r-- | lib/models/plugin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/plugin.js b/lib/models/plugin.js index 372558b..909ca0b 100644 --- a/lib/models/plugin.js +++ b/lib/models/plugin.js @@ -62,7 +62,7 @@ Plugin.prototype.getNpmID = function() { @return {Boolean} */ Plugin.prototype.isLoaded = function() { - return Boolean(this.getPackage().size > 0 && this.getContent().size > 0); + return Boolean(this.getPackage().size > 0); }; /** |