301 Commits

Author SHA1 Message Date
Dylan Piercey
e1a1d401ae
Control flow and looping migration fixes 2019-07-02 14:03:47 -07:00
Dylan Piercey
3c6c851563
Fix issue with invoke tag that has control flow (#1366) 2019-06-26 12:04:42 -07:00
Dylan Piercey
881f1b8da7
Lazy attributes for dynamic tags (#1365) 2019-06-25 15:01:52 -07:00
Michael Rawlings
e4d86774e5
fix tryonline: correct paths and no taglibImports (#1360)
* fix tryonline: correct paths and no taglibImports

* remove unused file
2019-06-24 14:29:17 -07:00
Dylan Piercey
b1cdb37cc1
Fix issue with render call binding for dynamic tag migration (#1362) 2019-06-24 14:29:12 -07:00
Michael Rawlings
ad6ebaabe6 improve vdom render tests and migratable deprecation messages (#1364) 2019-06-24 14:28:58 -07:00
Dylan Piercey
f11929e36c Remove empty layout-put tags (#1355) 2019-06-24 14:28:50 -07:00
Michael Rawlings
2172810c67 fix non-existant method call (#1363) 2019-06-24 14:28:42 -07:00
Michael Rawlings
09a8216638 remove unused file 2019-06-18 14:29:19 -04:00
Michael Rawlings
4688f9f36e fix tryonline: correct paths and no taglibImports 2019-06-18 14:11:16 -04:00
Dylan Piercey
c0643c8bca
Fix issue with removing children inside of fragments (#1359) 2019-06-18 10:28:22 -07:00
Dylan Piercey
81612e52ee
Fix regression with body-only-if and control flow attribute (#1356) 2019-06-14 17:09:33 -07:00
Andrew Gliga
af95c09e94
Merge branch 'master' of github.com:marko-js/marko into body-only-if-tag 2019-06-06 12:20:36 -07:00
Andrew Gliga
9a4630a9c7
Fixed relative path issue and added a better variable collision lookup 2019-06-06 12:02:17 -07:00
Dylan Piercey
6b5ed8574e
Fix issue with setting textarea value to false (#1348) 2019-06-05 14:05:58 -07:00
Dylan Piercey
eaa7024720
Improve for loop auto keying (#1346) 2019-06-05 11:29:29 -07:00
Dylan Piercey
f1744b95d9
Fix and deprecate passing a non string key (#1344) 2019-06-05 11:28:58 -07:00
Dylan Piercey
e729b89b1e
Fix issue when using getEls with repeated id in a split component (#1343) 2019-05-29 11:39:34 -07:00
Michael Rawlings
4a73060bc6 Cleanup tests (#1341)
Cleanup tests and add assertions that all deprecated tests log warnings, and all non deprecated tests don't.
2019-05-28 10:54:31 -07:00
Dylan Piercey
25d29b10e0
Fix regression with namespace inside of a fragment (#1340) 2019-05-21 18:09:40 -07:00
Dylan Piercey
197f3ff718
Register components before mounting (#1336)
* Register components before mounting
2019-05-21 14:08:14 -07:00
Dylan Piercey
4cdc807b3b
Walk nested fragments for getEl (#1339) 2019-05-21 14:07:54 -07:00
Dylan Piercey
e065c140ff
Namespace fixes (#1333)
* Calculate namespace on actualize
2019-05-20 13:13:51 -07:00
Dylan Piercey
263a3783be
Ignore unrecognized tags compiler option now includes @tags (#1335)
* Ignore unrecognized tags compiler option now includes nested @tags
2019-05-17 10:13:49 -07:00
Michael Rawlings
a2153d2c66 Fix preserve (#1334)
* use scoped keys when adding to the global preserve lookup, fixes key collision issue
2019-05-17 09:48:37 -07:00
Andrew Gliga
9194b14349
Updated code for review comments 2019-05-16 08:51:52 -07:00
Andrew Gliga
3b4d8484fe
Fixed test failures and cleaned up code 2019-05-15 14:46:38 -07:00
Andrew Gliga
5981fc3ef0
Added body only if tests and migration path 2019-05-15 13:06:20 -07:00
Andrew Gliga
6e30730d11
Fixed null rendering to use fragment 2019-05-14 11:23:54 -07:00
Dylan Piercey
c59b95453c
Allow macros with tag params to be implicit components (#1326) 2019-05-13 12:41:40 -07:00
Andrew Gliga
2de447933a Moved all body-only-if tags to deprecated 2019-05-13 09:23:43 -07:00
Andrew Gliga
053f01ff44 Fixed tests and rendering of null tag 2019-05-13 09:10:57 -07:00
Andrew Gliga
458ae1b85a
Added null tag to render body 2019-05-10 13:34:39 -07:00
Dylan Piercey
a714074dd1
Fix regression with unary expression printing (#1323)
* Fix regression with unary expression printing
2019-04-30 11:48:23 -07:00
Michael Rawlings
e6408c2c14
fix components runtime path after refactor (#1322) 2019-04-22 14:20:15 -07:00
Michael Rawlings
3143990d95
fix destorying a component that has already removed some top-level nodes (#1321) 2019-04-22 14:19:43 -07:00
Dylan Piercey
fdd98e288f
Fix syntax regression for IE 2019-04-19 13:40:25 -07:00
Michael Rawlings
101c5c6bb8
refactor to better separate compiler/taglib/core-tags/runtime (#1319)
* refactor out taglib loader/finder/lookup

* add comments for taglib apis that we need to deprecate

* move components into runtime/core-tags
2019-04-16 13:34:26 -07:00
Dylan Piercey
962673b8da Improve w-body migration (#1318) 2019-04-16 13:02:32 -07:00
Michael Rawlings
c5a5eab156 Hydrate update (#1317)
* when hydrating, render top down, mount bottom up
2019-04-16 10:37:51 -07:00
Dylan Piercey
d9650d7590
Fix issue with lost component def in legacy renderer (#1311) 2019-04-04 15:22:12 -07:00
Dylan Piercey
c44aa04ac6 Fix hot reload and use require hook for compiled server templates if available (#1310) 2019-04-04 12:56:40 -07:00
Dylan Piercey
14cec4c212
Improve dynamic tag arguments parsing (#1308) 2019-04-03 12:34:33 -07:00
Dylan Piercey
36ab4ed18d
Fix issue with undefined state property setters being applied to the wrong component (#1306) 2019-04-01 13:30:41 -07:00
Dylan Piercey
6fbf83155e Ensure space when dynamic attributes as string is provided (#1304) 2019-03-28 13:25:23 -07:00
Dylan Piercey
bb1c9ffa37 Sync button disabled attribute (#1303) 2019-03-28 13:24:44 -07:00
Michael Rawlings
9cb22a97eb fix macro with injected renderBody migration (#1300) 2019-03-27 15:31:52 -07:00
Michael Rawlings
a5dfa884ee
fix widget.elId as <var>/<assign> attribute (#1298) 2019-03-20 15:10:22 -07:00
Dylan Piercey
8be4a5d00d
Remove redundant part of key path for nested macros (#1295) 2019-03-19 16:14:05 -07:00
Dylan Piercey
070b09becd
Fix issue with hydrating nested fragments that are adjacent in the dom (#1294) 2019-03-19 16:08:37 -07:00