diff options
author | Aaron O'Mullan <aaron.omullan@friendco.de> | 2014-04-24 01:38:42 -0700 |
---|---|---|
committer | Aaron O'Mullan <aaron.omullan@friendco.de> | 2014-04-24 01:38:42 -0700 |
commit | 8cbd8b2b48fc2081b6ae7437241edcc9d8e367e6 (patch) | |
tree | 2040e7a27f879d5ed8ac682da09460bb5d143dc4 | |
parent | 7c404dbf96b9ef0a6c3a0ce84841c61c79779591 (diff) | |
download | gitbook-8cbd8b2b48fc2081b6ae7437241edcc9d8e367e6.zip gitbook-8cbd8b2b48fc2081b6ae7437241edcc9d8e367e6.tar.gz gitbook-8cbd8b2b48fc2081b6ae7437241edcc9d8e367e6.tar.bz2 |
Reorder plugin names
Improves #149 and improves GitBookIO/editor#12
-rw-r--r-- | lib/generate/plugin.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/generate/plugin.js b/lib/generate/plugin.js index 72b65b5..1d56ca0 100644 --- a/lib/generate/plugin.js +++ b/lib/generate/plugin.js @@ -15,9 +15,10 @@ var Plugin = function(name) { this.infos = {}; _.each([ - "gitbook-"+name, "gitbook-plugin-"+name, - "gitbook-theme-"+name + "gitbook-theme-"+name, + "gitbook-"+name, + name, ], function(_name) { if (this.load(_name)) return false; }.bind(this)); |