bump 2.3.0
This commit is contained in:
parent
bf559b44dc
commit
ec8b17bd43
11 changed files with 183 additions and 66 deletions
|
|
@ -29,18 +29,18 @@ function collect () {
|
|||
}
|
||||
|
||||
var install = function () {
|
||||
if (!window.Docsify || !window.Docsify.installed) {
|
||||
console.error('[Docsify] Please load docsify.js first.');
|
||||
return
|
||||
}
|
||||
if (install.installed) { return }
|
||||
install.installed = true;
|
||||
|
||||
if (!window.$docsify.ga) {
|
||||
console.error('[Docsify] ga is required.');
|
||||
return
|
||||
}
|
||||
|
||||
collect();
|
||||
window.$docsify.plugins = [].concat(window.$docsify.plugins, collect);
|
||||
window.$docsify.plugins = [].concat(function (hook) {
|
||||
hook.init(collect);
|
||||
hook.beforeEach(collect);
|
||||
}, window.$docsify.plugins);
|
||||
};
|
||||
|
||||
var ga = install();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue