285 Commits

Author SHA1 Message Date
Michael Rawlings
7d7b8aabd3 better handling of dynamic tag names that could possibly have an associated namespace 2017-04-26 16:10:06 -07:00
Michael Rawlings
29eb4d2c00 add support for setting the correct namespace when xmlns is present (for dynamic tag names) 2017-04-25 16:16:36 -07:00
Patrick Steele-Idem
75588a006a Merge branch 'master' of https://github.com/marko-js/marko into issue-651 2017-04-17 10:24:28 -06:00
Patrick Steele-Idem
6f89fe04ea Refactored out nextTick/setImmediate for better error handling 2017-04-12 20:27:59 -06:00
Patrick Steele-Idem
9db31cda04 Fixes #661 - Component initialization code may end up in the wrong place 2017-04-12 20:21:04 -06:00
Patrick Steele-Idem
5c67defa95 Fixes #651 - Only serialize top-level component data and rerender top-level UI components in the browser 2017-04-05 14:59:09 -06:00
Patrick Steele-Idem
361c049cd9 Fixed typos in method signature 2017-04-05 11:45:45 -06:00
Patrick Steele-Idem
9c97bff9eb Fixes #653 - Event handlers are no longer bound in edge case 2017-04-05 11:45:27 -06:00
Patrick Steele-Idem
a7501d1190 Fixes #648 - Style attribute object and lengths not handled properly 2017-04-02 12:16:41 -06:00
Patrick Steele-Idem
78f3930d2c Use === for performance 2017-04-01 14:36:45 -06:00
Patrick Steele-Idem
cb18ac2dcf Fixes #644 - Attribute not rendered by Marko is not preserved if component first rendered on the server 2017-04-01 14:34:58 -06:00
Patrick Steele-Idem
84db5c05a0 [Perf] Escaping is not needed for the data-marko attr 2017-04-01 14:33:22 -06:00
Michael Rawlings
23c9fabc13 Merge branch 'master' of github.com:marko-js/marko 2017-03-28 14:49:44 -07:00
Michael Rawlings
71a1fc71ba fix path must receive string in node 6+ 2017-03-28 14:49:36 -07:00
Patrick Steele-Idem
a94e2e738a Fixes #629 - [vdom] Rendering unescaped HTML produces non-functioning HTML input controls 2017-03-28 15:00:24 -06:00
Michael Rawlings
91f2dc354d fix jshint violation 2017-03-28 13:03:52 -07:00
Michael Rawlings
a8678fd18c small improvements to better support precompiling templates 2017-03-28 12:57:22 -07:00
Patrick Steele-Idem
c40276de02 [Performance] Separated out events/const from attrs and more 2017-03-28 11:02:12 -06:00
Patrick Steele-Idem
9caf44724d [Performance] Various performance optimizations 2017-03-28 11:02:12 -06:00
Patrick Steele-Idem
db7ff20212 xmlns attributes should be ignored when virtualizing a real DOM node 2017-03-22 10:11:01 -06:00
Patrick Steele-Idem
b17db4f9f4 Fixes #623 - Uncaught TypeError: toEl.$__hasAttribute is not a function 2017-03-16 09:22:40 -07:00
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