-
-
Notifications
You must be signed in to change notification settings - Fork 101
1.0.0 #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@sky-code I'm in rewriting progress. Can you please review? |
Diff view is untrackable, please pull and view code on your editor :) |
|
||
node_js: | ||
- 5 | ||
- 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it compatible with Node 8?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly yes. Not tested.
README.md
Outdated
|
||
```html | ||
<template> | ||
<progress-bar v-if="$vueLoading.isLoading(/creating.*/)">Creating something...</progress-bar> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dot requires escaping. WDYT about using wildcards? It simpler and not requires escaping. We can outsource it to library like https://github.com/sindresorhus/matcher
Code is much better readable now. Can you fix #28 also before 1.0, please? And WDYT about repository rename? To vue-loading (and remove paragraph about misleading about Vuex). |
I think #28 is fixed with I'm thinking about renaming the project but |
So should I use different |
src/vue-loading.js
Outdated
throw new Error('[vuex-loading] Vuex not initialized.'); | ||
} | ||
this.store = store; | ||
store.registerModule(vuexModuleName, vuexStore); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it is possible to check here - if module with same name already registered and if yes - skip registration? Can you add test case for multiple Vue instances on same page?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense. I'm going to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vuex doesn't give me the info about if the module is registered, so I unregister it first.
Added some useful directives. ec2db9d |
v1.0.0
width
andheight
props.isLoading
supportsmatcher
now.registerComponents
toregisterComponent
accessorName
option to change$vueLoading
key.createActionHelpers
, usemapLoadingActions
orwrapLoading
instead.