pimlie
5d76f7f5e3
chore: fix circleci config
2019-03-23 16:00:30 +01:00
pimlie
717c30303f
test: add e2e tests
2019-03-23 16:00:30 +01:00
pimlie
18139fc900
chore: remove ununsed dep
2019-03-12 12:14:35 +01:00
pimlie
37563bcc84
chore: exclude ssr from webpack
2019-03-12 12:13:40 +01:00
pimlie
e371bbfb7e
chore: add coverage cmd back after merge
2019-03-12 11:30:44 +01:00
pimlie
a51eb4d783
Merge branch 'next' into docs
2019-03-12 11:26:29 +01:00
Alexander Lichter
1acadbc1b4
chore: update deps
2019-03-12 10:03:46 +01:00
pimlie
840d8ea02b
chore: update deps
2019-03-12 10:03:46 +01:00
pimlie
d38f81e0a9
fix: implement simply array polyfills ( fixes #328 )
2019-03-12 10:03:46 +01:00
pimlie
02c7beb6de
chore: use buble again for rollup and also replace
2019-03-12 10:03:46 +01:00
pimlie
7cf4efd290
test: add nav-guard tests for refresOnce false
2019-03-12 10:03:46 +01:00
pimlie
d717dbf4e1
fix: dont use object.assign/spread
...
so we dont need a polyfill
2019-03-12 10:03:46 +01:00
pimlie
93f021b757
fix: only add navguards when refreshOnceOnNav is false
2019-03-12 10:03:46 +01:00
pimlie
93fb900a85
refactor: let transpiler fix Array.isArray
2019-03-12 10:03:46 +01:00
pimlie
34c534be82
chore: add missing dev dep
2019-03-12 10:03:46 +01:00
pimlie
1c74f9fe57
chore: fix lint
2019-03-12 10:03:46 +01:00
pimlie
214f52ebe8
test: clean e2e build folder before test
2019-03-12 10:03:46 +01:00
pimlie
336f9b5284
chore: update deps
2019-03-12 10:03:46 +01:00
pimlie
6405724881
refactor: move utils to utils folder
2019-03-12 10:03:46 +01:00
pimlie
4c967b0b4b
refactor: missed template import
2019-03-12 10:03:46 +01:00
pimlie
4a8f9753e0
fix: afterNavigation logic (its never set in options)
2019-03-12 10:03:46 +01:00
pimlie
419951c59f
refactor: combine meta helpers
2019-03-12 10:03:46 +01:00
pimlie
f92fb67619
refactor: rename to template module
2019-03-12 10:03:46 +01:00
pimlie
2adba84e58
refactor: combine escape info
2019-03-12 10:03:46 +01:00
pimlie
a9d46888ce
chore: remove unused rollup-plugin-buble
2019-03-12 10:03:46 +01:00
pimlie
077407297b
chore: improve build config
2019-03-12 10:03:46 +01:00
pimlie
012873c9ac
chore: add audit to ci
2019-03-12 10:03:46 +01:00
pimlie
749f8d6228
chore: update circlici config for e2e tests
2019-03-12 10:03:46 +01:00
pimlie
2b24acc8b2
refactor: set defaultOptions in shared/constants
2019-03-12 10:03:46 +01:00
pimlie
c1f97c4ea4
refactor: move isArray into is-type
2019-03-12 10:03:46 +01:00
pimlie
bfa64af29b
chore: add missing dep
2019-03-12 10:03:46 +01:00
pimlie
c691674612
chore: update circlci config for e2e tests
2019-03-12 10:03:46 +01:00
pimlie
5cbb5bdc52
refactor: use forEach not map
2019-03-12 10:03:46 +01:00
pimlie
a10fd83539
chore: update dependencies
2019-03-12 10:03:46 +01:00
pimlie
05b8891110
test: add e2e tests
...
fix: boolean attributes client side
2019-03-12 10:03:46 +01:00
pimlie
a853ce3de7
Revert "refactor: remove beforeMount hook"
...
This reverts commit 3a6374e2afa57e624c60e42277f71edc998f1f9f.
2019-03-12 10:03:46 +01:00
pimlie
18fd23d3c0
refactor: remove beforeMount hook
...
This shouldnt be necessary anymore because we force initialization once on mounted/nextTick. Using beforeMount is also inherently less optimal because you are unlikely to benefit from walking the component tree as beforeMount is called before all child components are loaded. So using beforeMount resulted probably that for every component which uses metaInfo a refresh was called on load.
A possible caveat that may exists due to removing beforeMount in favor of a single refresh is that it takes longer for your metaInfo to be updated if you have a lot of components on your page, not sure if this will be a problem in real world scenarios because if this is a problem you should probably be using ssr anyway. Also the v1 docs state that using beforeMount also results in a single update (although in practice it could be more then one)
2019-03-12 10:03:46 +01:00
pimlie
f490a48b99
refactor: small improvements (mainly tests)
2019-03-12 10:03:46 +01:00
pimlie
5ad671169b
fix: dont call changed with explicit this
...
in refresh this is probably not the component changed was defined on, removing call(this) gives context control back to the user
2019-03-12 10:03:46 +01:00
pimlie
5f8025e126
test: increase coverage, add missing tests
...
fix: issues discovered by adding missing tests
2019-03-12 10:03:46 +01:00
pimlie
ce7eaf56d3
test: add missing test for sanitizeByTagId
...
fix: broken sanitizeByTagId implementation
2019-03-12 10:03:46 +01:00
pimlie
da4bb27a4b
refactor: just pass all options to getComponentOption
2019-03-12 10:03:46 +01:00
pimlie
c9a732c9d7
test: add generator/updater test for array attributes
2019-03-12 10:03:46 +01:00
pimlie
9d8ea758ac
refactor: prefer ternary
2019-03-12 10:03:46 +01:00
Alexander Lichter
6f1b080654
refactor: prefer destruct syntax
...
Co-Authored-By: pimlie <pimlie@hotmail.com >
2019-03-12 10:03:46 +01:00
pimlie
01edc8c242
feat: attr keys can have array values ( resolves #231 )
2019-03-12 10:03:46 +01:00
pimlie
6e18a7d54a
chore: fix lint
2019-03-12 10:03:46 +01:00
pimlie
104113a7b8
fix: use undefined as child ignore indicator
2019-03-12 10:03:46 +01:00
pimlie
915fedfb7f
feat: child can indicate parent vmid to be removed ( resolves : #288 )
2019-03-12 10:03:46 +01:00
pimlie
22e456cbe2
feat: child can indicate its content should be ignored ( resolves : #204 )
2019-03-12 10:03:46 +01:00