705 Commits

Author SHA1 Message Date
Patrick Steele-Idem
306e19b88e Changes related to #492 - Added support for body-slot and putting functions in state 2016-12-30 12:17:16 -07:00
Patrick Steele-Idem
c5c015e2ec Added test case related to https://github.com/marko-js/htmljs-parser/issues/50 - Escaped placeholder not handled correctly in PARSED_TEXT_CONTENT state 2016-12-29 13:28:56 -07:00
Patrick Steele-Idem
99199e9f2d Fixes #474 - Assignment null tag 2016-12-28 19:39:53 -07:00
Patrick Steele-Idem
b8434cf057 Merge branch 'master' of github.com:marko-js/marko 2016-12-28 18:49:35 -07:00
Patrick Steele-Idem
59559b211a Improved compilation for the browser and webpack compatibility 2016-12-28 17:02:24 -07:00
austinkelleher
405ff119b4 For each property should work with Map instances. 2016-12-28 17:26:01 -05:00
Patrick Steele-Idem
291f678492 Fixes #425 - Breaking change: treat concise line starting with ${ as a dynamic tag name 2016-12-22 16:29:48 -07:00
Patrick Steele-Idem
179a564d9a Fixed broken test related to widget serialization changes 2016-12-22 15:46:29 -07:00
Patrick Steele-Idem
b0ba2640f7 Added test for #482 - Fixed bug where widgets initialized before the runtime is loaded are lost 2016-12-22 15:25:40 -07:00
Patrick Steele-Idem
5c741d1170 Fixes #481 - Placeholder should be allowed within open tag for custom tags for dynamic attrs 2016-12-21 22:37:14 -07:00
Patrick Steele-Idem
6e71268a0d Added test for #424 - Allow whitespace in attribute value expressions not wrapped in parenthesis 2016-12-21 22:20:48 -07:00
Patrick Steele-Idem
630e63989e Added test #480 - Allow commas between attributes and semicolon at end 2016-12-21 20:41:09 -07:00
Patrick Steele-Idem
41dfbe3000 Added test for #403 - Allow spaces between attribute names and values 2016-12-21 20:39:20 -07:00
Patrick Steele-Idem
65b6ff8ef0 Switched from "-" to "--" in concise templates 2016-12-21 20:32:45 -07:00
Patrick Steele-Idem
e97a45352d Significant code size reduction 2016-12-20 17:06:53 -07:00
Patrick Steele-Idem
4dcc1b2775 Initial batch of migrating to v4 for all non-deprecated widget tests 2016-12-20 17:06:53 -07:00
Patrick Steele-Idem
2277d97c44 Code size reduction 2016-12-20 17:06:52 -07:00
Patrick Steele-Idem
ff5472a034 Code size reductions 2016-12-17 08:00:17 -07:00
Patrick Steele-Idem
a9fc85f272 Fixes #457 and #467 - ready and $ are now optional 2016-12-16 11:39:53 -07:00
Patrick Steele-Idem
884c26c9dc Consolidated all state tracking into State.js and out of Widget.js 2016-12-16 10:28:49 -07:00
Patrick Steele-Idem
18854ed043 Simplified DOM insertion method mixins 2016-12-16 06:26:05 -07:00
Patrick Steele-Idem
5dc913841d Use compileFileForBrowser 2016-12-16 06:26:04 -07:00
Patrick Steele-Idem
dc0e80af0a Fixes #472 - Compiler API: Add compileForBrowser and compileFileForBrowser methods 2016-12-16 06:26:04 -07:00
Patrick Steele-Idem
b2903a14db Changed method signature for api-compiler autotests 2016-12-16 06:26:04 -07:00
Michael Rawlings
890e97f022 fixes #464 2016-12-15 18:09:40 -08:00
Michael Rawlings
8c44e05a9f Merge branch 'master' of github.com:marko-js/marko 2016-12-14 17:33:30 -08:00
Michael Rawlings
2980546f7c deprecate in favor of 2016-12-14 17:32:50 -08:00
Patrick Steele-Idem
77e6c7ff2d Fixed edge case when parsing for loop
"stepIndex, step in state.steps" did not parse correctly because of " step" being a token
2016-12-14 13:54:07 -07:00
Michael Rawlings
300d391680 fixes #465 2016-12-13 18:21:30 -08:00
Michael Rawlings
ef71117d8b fix tests 2016-12-13 17:41:03 -08:00
Michael Rawlings
61a5b25e8d update inline components to not wrap in an iife 2016-12-13 15:20:25 -08:00
Michael Rawlings
3d2e31c1ea Merge branch 'master' of github.com:marko-js/marko 2016-12-13 11:57:58 -08:00
Michael Rawlings
dada89397a more concise template export 2016-12-13 11:57:50 -08:00
Patrick Steele-Idem
21cf0cbe1b Fixed broken widget compilation test 2016-12-13 11:57:45 -07:00
Patrick Steele-Idem
8f4c884fba Fix for preserving transclude content on stateful component rerender 2016-12-13 11:51:19 -07:00
Patrick Steele-Idem
5b9977913e Fixes #455 - Simplify compiled code for UI components 2016-12-13 11:34:26 -07:00
Patrick Steele-Idem
77030da7fc Merge branch 'master' of github.com:marko-js/marko 2016-12-08 11:59:10 -08:00
Michael Rawlings
9a1f75fbe8 fix failing test 2016-12-08 11:56:12 -08:00
Patrick Steele-Idem
6403cd549e Fixed hot reload for v4 2016-12-08 11:52:29 -08:00
Michael Rawlings
61ab1ef595 fix failing test due to whitespace 2016-12-08 00:11:08 -08:00
Michael Rawlings
3f56ae289a Merge branch 'master' of github.com:marko-js/marko 2016-12-07 23:54:24 -08:00
Michael Rawlings
5df429d160 add support for component level styles. fixes #456 2016-12-07 23:54:13 -08:00
Michael Rawlings
3388275787 fix event handling for widget with multiple top level elements 2016-12-07 23:46:35 -08:00
Patrick Steele-Idem
cf8543e5b3 getWidgetForEl should return the outer most widget bound to an element 2016-12-07 17:09:14 -08:00
Patrick Steele-Idem
d1266aa47c short circuit for references to marko modules 2016-12-07 17:09:14 -08:00
Michael Rawlings
03c2e8de7e consolidate build widget type and component exports for inline/not inline components. add widget as dependency in metadata. fixes #461. 2016-12-07 15:29:54 -08:00
Michael Rawlings
b9f30433c6 merge changes 2016-12-07 11:11:04 -08:00
Michael Rawlings
45ebc9fb8e add support for 'watching' the widget state for changes. fixes #406 2016-12-07 10:49:31 -08:00
Michael Rawlings
4b1c76e50f remove new test from deprecated directory 2016-12-07 10:37:18 -08:00
Patrick Steele-Idem
73ef10c2f3 Fixed test after removing w-extend attr 2016-12-06 18:28:39 -08:00