2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-01 02:24:05 +03:00
Commit Graph

155 Commits

Author SHA1 Message Date
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
pimlie 4dafffea4e refactor: prefer forEach 2019-03-12 10:03:46 +01:00
pimlie b7ee0409ea feat: add amp as boolean attribute (resolves: #311) 2019-03-12 10:03:46 +01:00
pimlie 7615f4120c fix: ignore data when its not an object (fixes: #253, #279, #297) 2019-03-12 10:03:46 +01:00
pimlie 23c3380c90 refactor: optimize getComponentOption by making it less generic 2019-03-12 10:03:46 +01:00
pimlie 7b888c9437 refactor: optimize getMetaInfo by extracting functions
this should make it easier for javascript engines to optimize these functions
2019-03-12 10:03:46 +01:00
pimlie 12c7949132 fix: dont updateTags when the new info is not an array 2019-03-12 10:03:46 +01:00
pimlie cd98210acb refactor: make hasMetaInfo default export 2019-03-12 10:03:46 +01:00
pimlie f2e8eb537d feat: track branches which contain metaInfo components 2019-03-12 10:03:46 +01:00
pimlie fa90902fc7 refactor: extract applyTemplate method and make it more generic 2019-03-12 10:03:46 +01:00
pimlie 15eb9ccfd1 refactor: extract merge methods 2019-03-12 10:03:46 +01:00
pimlie 95ba9c0291 refactor: extract escape method 2019-03-12 10:03:46 +01:00
pimlie 31e975d312 feat: add getOptions method (resolves: #215) 2019-03-12 10:03:46 +01:00
pimlie 97badf61cb feat: add afterNavigation callback (fix: #259) 2019-03-05 15:11:25 +01:00
pimlie 173b31d1d7 feat: export hasMetaInfo helper function 2019-03-05 14:17:28 +01:00
pimlie f597f61104 Revert "feat: use named exports to export helper functions"
This reverts commit 95c3b7d4e8.
2019-03-05 14:12:56 +01:00
pimlie 95c3b7d4e8 feat: use named exports to export helper functions 2019-03-05 14:06:21 +01:00
pimlie 9c80dab7b2 fix: use single object prop on
feat: provide hasMetaInfo export for other libraries to check if metaInfo has been defined

chore: deprecate _hasMetaInfo
2019-02-23 13:49:37 +01:00
pimlie f25415b621 refactor method 2019-02-23 12:33:30 +01:00
pimlie 4968ee10b9 chore: small readability improvement 2019-02-22 20:01:42 +01:00
pimlie 287512f0cf chore: remove false comment 2019-02-20 19:09:10 +01:00
pimlie 1e6c5b9eb4 fix: use correct var 2019-02-20 18:43:09 +01:00
pimlie 8e211751df feat: add option to refresh once during navigation (possible fix for #320)
chore: add es build

chore: global window detection

chore: small refactor improvements
2019-02-20 18:35:01 +01:00
pimlie 56f0b61d1b feat: add es build
fix: add global window detection

chore: update deps
2019-02-20 17:05:51 +01:00
pimlie d237180cbd feat: add pause/resume methods to pause updates 2019-02-20 14:46:05 +01:00
pimlie bf864f67be fix: one less thing to review 2019-02-11 21:36:33 +01:00
pimlie 66e4fb4e3e fix: also render boolean attributes correctly for tags 2019-02-11 15:59:01 +01:00
pimlie deea5cfbbd feat: render boolean attributes correctly (previously #317) 2019-02-11 15:44:05 +01:00
pimlie b824a27d35 fix: trigger meta refresh on page load (fixes #283) 2019-02-11 15:10:56 +01:00
pimlie e3fd8ab6b9 fix: ignore cssText for coverage 2019-02-11 14:18:39 +01:00
pimlie 3631526d6d fix: typo 2019-02-11 14:16:57 +01:00
pimlie 93fb27a694 chore: add separate tests for server and browser plugin 2019-02-11 12:40:00 +01:00
pimlie 02e4094a35 fix: add inject stub for browser build 2019-02-11 12:03:54 +01:00
pimlie 2862a5be8b feat: add browser build without ssr code 2019-02-11 12:00:11 +01:00
pimlie a4ca39bfef chore: fix lint 2019-02-11 11:58:16 +01:00
pimlie 6741897369 fix: prefer for..in instead keys.forEach 2019-02-11 11:12:19 +01:00
pimlie 5031acf0fa fix: dont inline typeof definitions 2019-02-11 10:37:56 +01:00
pimlie b4feec0232 chore: rename constants to use camelCase for better readability 2019-02-11 09:16:51 +01:00
pimlie 78f2c46c20 fix: another inline array to const 2019-02-10 23:57:31 +01:00
pimlie 288871fa72 fix: use const arrays 2019-02-10 23:35:01 +01:00
pimlie 82ba8c0582 fix: prefer filter over slice 2019-02-10 23:34:26 +01:00
pimlie f9604c0b20 fix: use Array.from 2019-02-10 10:06:42 +01:00
pimlie 6bbcf74c94 fix: prefer includes over indexOf 2019-02-10 09:03:14 +01:00
pimlie 5d64d43862 feat: major refactor, cleanup and jest tests 2019-02-09 21:45:22 +01:00