Andrew Gliga
93b808efa0
Fixed a typo for template to templateDate
...
Added a test to catch this case. Initial pr #1383 and typo PR: #1443
2020-01-03 12:24:10 -08:00
Dylan Piercey
1a52263af0
Refactor helpers, fix circular deps, improve code splitting ( #1468 )
...
* Refactor helpers, fix circular deps, improve code splitting
2019-12-31 11:02:33 -07:00
Dylan Piercey
e933dac562
Remove unused deps, update package-lock ( #1469 )
2019-12-31 10:47:31 -07:00
Andrew Gliga
e2858d7af3
Added support for state tag ( #1460 )
2019-12-09 09:54:53 -08:00
Michael Rawlings
f5320ce3b5
allow empty <@catch> to swallow errors ( #1456 )
2019-11-27 13:55:16 -08:00
Michael Rawlings
8fb38e8ee1
fix preservation of transcluded dom nodes, add transcluded preservation tests ( #1455 )
2019-11-22 12:36:39 -08:00
Michael Rawlings
18cb49b599
disable strict mode if a macro is not at the root ( #1445 )
2019-11-04 16:16:35 -08:00
Dylan Piercey
0092cda633
Fix issue with duplicated attributes being ommitted
2019-10-31 11:20:43 -07:00
Michael Rawlings
8c26a9f6a9
fix top-level async init ( #1441 )
2019-10-29 10:23:19 -07:00
Andrew Gliga
94418617ef
Deprecated all tests that will be deprecated in v5 ( #1430 )
2019-10-24 12:01:36 -07:00
Michael Rawlings
e4acb23739
scripts now always generate a single text child - even if they have placeholders ( #1429 )
2019-10-17 15:59:28 -07:00
Dylan Piercey
c5f5870838
Improve conditional comment support ( #1427 )
2019-10-15 11:00:10 -07:00
Michael Rawlings
49a5b91d21
improve precompiled heuristic to check for banner comment ( #1426 )
...
* improve precompiled heuristic to check for banner comment
2019-10-15 10:50:21 -07:00
Dylan Piercey
6b9f14d924
Runtime ID configures window variables ( #1418 )
2019-09-18 16:38:09 -07:00
Taylor Hunt
f5e5b00fbe
Update html/marko.json ( #1411 )
...
* Remove deprecated features
* Remove <opt> element (probably was a mistake)
* Update attributes & values
* Add ARIA states & properties
* Spruce up autocomplete snippets
* Match open-tag-only casing from docs
2019-09-18 16:36:26 -07:00
Michael Rawlings
c6138ebb46
add migration for component.elId ( #1413 )
...
* add migration for component.elId
* remove hasImperativeComponentIds as this is now migrated
* improve migration
2019-09-18 16:34:27 -07:00
Michael Rawlings
e710d43192
fix regex attribute that's not static ( #1412 )
2019-09-18 16:34:15 -07:00
Dylan Piercey
c641cfd220
Improve autocompletion for core tags ( #1405 )
...
* Improve autocompletion for core tags
2019-08-26 12:21:23 -07:00
Michael Rawlings
0aba01bc86
fix getComponentForEl for split components ( #1400 )
2019-08-26 12:21:09 -07:00
Michael Rawlings
7cc1d0a341
fix server-rendered conditional widgets in the compatibility layer ( #1395 )
2019-08-08 16:59:59 -07:00
Dylan Piercey
ff3b58d714
Deprecate the partial dynamic tag ( #1397 )
2019-08-08 16:58:48 -07:00
Taylor Hunt
0f0fd7b1f7
Clean up test noise ( #1394 )
...
* Fix warning about differing Node binaries
* Fix npm WARNings on test
* Fix chai deprecation notice
* Fix jsdom <script> parse errors
* Fix jsdom Not Implemented errors
2019-08-07 12:34:00 -07:00
Michael Rawlings
75db499e68
Await tests refactor ( #1387 )
...
* update await tests to use promises, move old tests to fixtures-await-callback
* combine render test fixtures and fixtures-async
* remove unused vdom expecatations for deprecated async tests
2019-07-26 19:45:39 -04:00
Michael Rawlings
81f341fe6d
Improve deprecation locations ( #1386 )
...
* improve deprecation locations for marko/jquery and marko/ready
* improve location of non-promise await deprecation
* improve taglib deprecation location and add var/vars deprecation
2019-07-19 15:06:46 -05:00
Dylan Piercey
f789907c7e
Add migration for legacy widget with getInitialState and no getTemplateData ( #1385 )
...
* Add migration for data = state
2019-07-15 13:30:26 -07:00
Michael Rawlings
839648f7e1
fix body-only-if transform for renderer tags ( #1384 )
2019-07-12 11:03:46 -07:00
Dylan Piercey
fc5fb03c7d
Fix getComponentForEl with nested fragments (returns owner component) ( #1382 )
...
* Fix getComponentForEl with nested fragments (returns owner component)
2019-07-08 16:13:10 -07:00
Dylan Piercey
d92c43bebf
Improve errors for root only tags ( #1379 )
2019-07-08 09:39:29 -07:00
Dylan Piercey
ffe585359b
Add support for dynamic string attributes in vdom and add deprecation warning ( #1378 )
2019-07-08 09:39:19 -07:00
Michael Rawlings
c3444fbaff
Merge pull request #1372 from marko-js/migrate-top-level-named-class
...
Deprecate and add migrator for top level named classes
2019-07-03 13:08:32 -07:00
Michael Rawlings
c2fdcc40e1
Merge pull request #1374 from marko-js/control-flow-and-looping-fixes
...
Control flow and looping migration fixes
2019-07-03 13:07:14 -07:00
Michael Rawlings
cf6ebd86b0
Merge pull request #1376 from marko-js/optgroup-support
...
Add optgroup support for controlled select elements
2019-07-03 13:05:48 -07:00
Michael Rawlings
a80ad077f1
no id:scoped for repeated w-id
2019-07-03 12:32:53 -07:00
Dylan Piercey
1f367b6ab7
Add optgroup support for controlled select elements
2019-07-03 11:48:51 -07:00
Dylan Piercey
e1a1d401ae
Control flow and looping migration fixes
2019-07-02 14:03:47 -07:00
Dylan Piercey
6d70aa18da
Deprecate and add migrator for top level named classes
2019-07-02 12:44:02 -07:00
Andrew Gliga
535daf9451
Readded tests ( #1368 )
2019-06-27 14:17:13 -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
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
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
6f473701c1
Update htmljs-parser
2019-06-05 11:36:33 -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