251 Commits

Author SHA1 Message Date
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
Patrick Steele-Idem
fae66bfb06 Switched to $__ for private props 2016-12-17 12:02:54 -07:00
Patrick Steele-Idem
1833a0f465 No need to implement childNodes since iteration is always done through firstChild/nextSibling 2016-12-17 09:21:40 -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
18854ed043 Simplified DOM insertion method mixins 2016-12-16 06:26:05 -07:00
Michael Rawlings
276013e495 remove deprecated methods in AsyncStream. fixes #466 2016-12-14 12:01:58 -08:00
Michael Rawlings
feb053b979 add context.deprecate method 2016-12-13 20:46:03 -08:00
Patrick Steele-Idem
5b9977913e Fixes #455 - Simplify compiled code for UI components 2016-12-13 11:34:26 -07:00
Michael Rawlings
6d35b61aeb dont cache deps for hot reloading - need better logic here 2016-12-08 12:06:23 -08:00
Patrick Steele-Idem
6403cd549e Fixed hot reload for v4 2016-12-08 11:52:29 -08:00
Michael Rawlings
6f7981d7aa use virtualPath for inline style tag 2016-12-08 10:57:12 -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
Michael Rawlings
769c572e35 merge + fixes 2016-12-02 14:13:25 -08:00