686 Commits

Author SHA1 Message Date
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
Patrick Steele-Idem
df7c07a0d3 Fixes #392 - Deprecate w-extend and allow multiple widgets to be bound to the same HTML element 2016-12-06 18:11:11 -08:00
Patrick Steele-Idem
aee4a0cfa6 Fixed compilation test for component template entry 2016-12-06 18:11:11 -08:00
Michael Rawlings
769c572e35 merge + fixes 2016-12-02 14:13:25 -08:00
Patrick Steele-Idem
9a88f4e48b Added renderToString method to restore tests 2016-12-02 11:53:03 -07:00
Patrick Steele-Idem
b86bbe3676 Fix for: declarative DOM event listeners broken for non-bubbling events on repeated elements 2016-12-02 11:22:55 -07:00
Patrick Steele-Idem
942fe5225a Restored tests 2016-12-02 10:12:19 -07:00
Patrick Steele-Idem
05110865b4 Fixes #393 Multiple top level DOM elements for a component
Also fixes #395 - Make w-bind attribute completely optional
Also fixes #399 - Single file Marko component
2016-12-02 08:44:23 -07:00
Patrick Steele-Idem
abbe88dfca Fixes #452 - Deprecate the layout taglib 2016-11-30 20:46:31 -07:00
Michael Rawlings
9cbddcab13 shared renderable logic 2016-11-30 09:00:00 -08:00
Patrick Steele-Idem
6c8cecccea Merge branch 'import-tag' of https://github.com/scttdavs/marko 2016-11-29 17:33:04 -07:00
Patrick Steele-Idem
9c07e9bf61 FIxes #436 - Add support for shorthand nested tags (e.g., <@foo>) 2016-11-29 17:28:09 -07:00
Patrick Steele-Idem
693d44e47a Fixed taglib-loader test 2016-11-29 17:28:09 -07:00
Patrick Steele-Idem
fa2988f526 Fixed forRange test after switching to helper func 2016-11-29 17:28:09 -07:00
Patrick Steele-Idem
6279bc6797 Fixed test for taglib-loader 2016-11-29 17:28:09 -07:00
Patrick Steele-Idem
e9eba90069 Fixed test for forRange 2016-11-29 17:28:09 -07:00
Scott Davis
db7fa47fa1 cache identifier, not var definition 2016-11-29 15:49:06 -05:00
Scott Davis
dfe85613d4 cleanup, fix expected 2016-11-27 20:41:40 -05:00
Scott Davis
66768de91c standardize tagString 2016-11-27 19:27:13 -05:00
Scott Davis
4633d84112 remove parenthesis from tag 2016-11-27 17:53:05 -05:00