Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 480a6db

Browse files
committed
Fix some logged errors
1 parent d1a221b commit 480a6db

File tree

4 files changed

+35
-29
lines changed

4 files changed

+35
-29
lines changed

package-lock.json

Lines changed: 32 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/docs/Loader.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,8 @@ export default {
197197
},
198198
199199
beforeCreate() {
200-
this.routerHook = this.$router.afterEach((to, _, next) => {
200+
this.routerHook = this.$router.afterEach(to => {
201201
this.updatePageTitle(to);
202-
next();
203202
});
204203
},
205204

src/components/docs/class-viewer/ClassViewer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<div id="class-constructor" v-if="clarse.construct && (showPrivate || clarse.construct.access !== 'private')">
2424
<h2>Constructor</h2>
2525
<pre><code class="js">new {{ docs.global }}{{ ["v2", "3.0.0-beta.33"].includes(tag) && clarse.name === docs.global ? "" : `.${clarse.name}` }}(<span class="constructor-param" v-for="param in constructorParams" :key="param.name">{{ param.name }}</span>);</code></pre>
26-
<param-table :params="clarse.construct.params" :docs="docs" />
26+
<param-table v-if="clarse.construct.params && clarse.construct.params.length > 0" :params="clarse.construct.params" :docs="docs" />
2727
</div>
2828

2929
<overview :properties="properties" :methods="methods" :events="clarse.events" />

src/data/JSSource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ export default new DocsSource({
1010
branch: "docs",
1111
defaultTag: "beta",
1212
branchFilter: branch => !branchBlacklist.has(branch),
13-
tagFilter: tag => semver.gte(tag, "3.0.0") || semver.gte(tag, "3.0.0-beta.34"),
13+
tagFilter: tag => semver.gte(tag, "3.0.0") || semver.gte(tag, "3.0.0-beta.37"),
1414
defaultFile: { category: "general", id: "welcome" },
1515
});

0 commit comments

Comments
 (0)