gitbook-plugin-login
Advanced tools
+2
-10
@@ -1,13 +0,5 @@ | ||
| require(['gitbook', 'jQuery'], function(gitbook, $) { | ||
| var pluginConfig = {}; | ||
| function initializePlugin(config) { | ||
| pluginConfig = config.code; | ||
| } | ||
| require(['gitbook'], function(gitbook) { | ||
| gitbook.events.bind('start', function(e, config) { | ||
| initializePlugin(config); | ||
| console.log(pluginConfig); | ||
| console.log(config); | ||
| }); | ||
| }); |
+1
-1
| { | ||
| "name": "gitbook-plugin-login", | ||
| "version": "1.0.3", | ||
| "version": "1.0.4", | ||
| "description": "gitbook登陆插件", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
864
-16.03%11
-31.25%