264 Commits

Author SHA1 Message Date
Patrick Steele-Idem
02d30107e3 Fixes #611 - component IDs are not being assigned correctly 2017-03-10 16:59:17 -07:00
Patrick Steele-Idem
d33e8bfa65 Optimization: simplify diffing/patching for simple attrs (class, id and style) 2017-03-10 12:01:31 -07:00
Patrick Steele-Idem
172c9cf304 Code size reductions and other cleanup 2017-03-09 20:24:52 -07:00
Patrick Steele-Idem
4056a61f5a Improved SVG handling and tag name normalization by doing more in the compiler 2017-03-09 20:24:52 -07:00
Patrick Steele-Idem
5f423c704d [morphdom] More optimizations related to merging in morphdom 2017-03-09 20:24:52 -07:00
Patrick Steele-Idem
b3a8099366 Improved error message for render error 2017-03-08 17:17:11 -07:00
Patrick Steele-Idem
8ddab7aa76 Simplified server-side template loading logic 2017-03-08 17:16:43 -07:00
Patrick Steele-Idem
3e9b0d000e Fixes #604 - no-update attributes error when first rendered on the server 2017-03-07 09:20:48 -07:00
Michael Rawlings
97b8a9308a Merge branch 'master' of github.com:marko-js/marko 2017-03-01 22:25:07 -08:00
Michael Rawlings
35302d1b9a recalc deps in development always 2017-03-01 22:15:55 -08:00
Patrick Steele-Idem
b289de2cb3 Use hidden attribute for marko const ID 2017-03-01 20:28:52 -07:00
Patrick Steele-Idem
f314931f90 Synchronous errors should be caught when rendering using async render methods 2017-03-01 19:46:13 -07:00
Patrick Steele-Idem
472f241ff1 Refactored classList helper to avoid repeating the same function name 2017-02-28 09:40:13 -07:00
Patrick Steele-Idem
e7a56395e8 Code size reductions 2017-02-25 16:29:32 -07:00
Patrick Steele-Idem
a2e67c91f8 Fixes #591 - [v4] "widgets" to "components" (breaking change) 2017-02-21 16:21:21 -07:00
Patrick Steele-Idem
ad00eb2aeb Mass rename of "widget" to "component" in files 2017-02-20 16:30:16 -07:00
Patrick Steele-Idem
790fd7bbd5 Additional changes to support Try Online 2017-02-10 01:17:54 -08:00
Michael Rawlings
334d246b7a only unset if it exists 2017-02-09 18:54:57 -08:00
Michael Rawlings
a821a09651 remove from input for all render methods 2017-02-09 17:08:12 -08:00
Michael Rawlings
fabaddeffe add out.global.template to all render functions 2017-02-09 15:32:29 -08:00
Michael Rawlings
42ef3fcb45 add escaping for inline styles and more targeted escaping for inline scripts 2017-02-09 12:48:41 -08:00
Patrick Steele-Idem
91e70f7f61 Performance optimization 2017-02-04 23:04:46 -07:00
Patrick Steele-Idem
60a8b3fe0c Fixed class name for VElementClone 2017-02-04 23:04:36 -07:00
Patrick Steele-Idem
42ed8d78f0 Optimize for classList by avoiding v8 deoptimization 2017-02-04 15:10:13 -07:00
Patrick Steele-Idem
9a3cd7174f Added .w() method to AsyncVDOMBuilder.js 2017-02-01 11:00:53 -07:00
Patrick Steele-Idem
b9871ae422 Fixes #551 - <Select> is not working properly 2017-01-28 12:55:58 -07:00
Patrick Steele-Idem
a98a453ada Various optimizations 2017-01-24 16:08:34 -07:00
Patrick Steele-Idem
225ae2729f Various fixes 2017-01-21 15:44:21 -07:00
Patrick Steele-Idem
694421470b Internal refactoring: V prefix for VDOM nodes 2017-01-20 13:40:21 -07:00
Michael Rawlings
cd855f6edf work around issues with server bundling 2017-01-18 18:22:14 -08:00
Michael Rawlings
a3733dbdd8 Merge branch 'master' of github.com:marko-js/marko 2017-01-18 16:36:38 -08:00
Michael Rawlings
3d4b70dbd9 improve inline style attribute performance 2017-01-18 16:36:30 -08:00
Patrick Steele-Idem
09b45ba190 Fixes #539 - Marko template prints only string values 2017-01-18 16:26:22 -07:00
Patrick Steele-Idem
0845b854a8 Fixed handling with value === 0 for HTMLElement 2017-01-07 15:56:15 -07:00
Patrick Steele-Idem
1d859cad47 Handle case where node is actualized and diffed with itself 2017-01-07 14:33:35 -07:00
Michael Rawlings
6531f7a5ea update compileForBrowser/compileFileForBrowser to return an object (the compiled template instance) instead of just the source code. Add a dependencies property to the object. 2017-01-07 09:45:01 -08:00
Patrick Steele-Idem
9a29abefa6 Fixes #511 - [v4] Bug related to textarea 2017-01-05 18:56:10 -07:00
Patrick Steele-Idem
28427e4b45 Added test case for #507 and minor change - replaceChildrenOf seem to create an infinite loop 2017-01-05 11:54:15 -07:00
Patrick Steele-Idem
479e0d8383 Merge pull request #505 from westtrade/patch-1
Some small fixes in dom-insert.js
2017-01-05 11:49:09 -07:00
Patrick Steele-Idem
849756de2c Fixes #509 - Text input without defined value receives "undefined" after rerender 2017-01-05 11:26:33 -07:00
Popov Gennadiy
2596fe9a98 Update dom-insert.js
../widgets/util - don't have  $__destroyWidgetForEl and $__destroyElRecursive functions
Fix infinite loop in replaceChildrenOf
2017-01-05 16:18:19 +04:00
austinkelleher
e425290687 Update _noUpdate attribute to data-_noupdate 2017-01-03 13:55:29 -05:00
Patrick Steele-Idem
832cc6d328 Merge pull request #494 from austinkelleher/422-deprecate-w-preserve-attrs
Fixes #422 - Introduce :no-update attribute and deprecate w-preserve-…
2017-01-03 11:31:08 -07:00
Patrick Steele-Idem
19d75ed765 Fixes #497 - [v4] Strange behavior with input[type=checkbox] 2017-01-03 10:27:22 -07:00
austinkelleher
3057576724 Fixes #422 - Introduce :no-update attribute and deprecate w-preserve-attrs attribute. 2017-01-03 09:25:47 -05:00
Patrick Steele-Idem
20cf6d364e More code size reductions 2017-01-02 15:53:38 -07:00
Patrick Steele-Idem
74d802b074 Backed out body-slot support and significant code size reductions 2016-12-30 19:02:31 -07:00
austinkelleher
405ff119b4 For each property should work with Map instances. 2016-12-28 17:26:01 -05:00
Patrick Steele-Idem
e97a45352d Significant code size reduction 2016-12-20 17:06:53 -07:00
Patrick Steele-Idem
2277d97c44 Code size reduction 2016-12-20 17:06:52 -07:00