77 Commits

Author SHA1 Message Date
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
ff5472a034 Code size reductions 2016-12-17 08:00:17 -07:00
Patrick Steele-Idem
a34b128f9f Removed duplicate var 2016-12-16 14:09:41 -07:00
Patrick Steele-Idem
2c25e8f8f1 Fixed check for shouldEnsure 2016-12-16 14:09:29 -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
6ede2aaa05 Removed _removeDOMEventListeners method 2016-12-16 10:39:25 -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
91440f26c6 Code comment 2016-12-16 06:47:14 -07:00
Patrick Steele-Idem
ccbeb2abb9 Minor optimization in widget.rerender() logic 2016-12-16 06:47:06 -07:00
Patrick Steele-Idem
b6d2aa285d Simplified code related to rerendering a widget and putting info into out.global 2016-12-16 06:26:05 -07:00
Patrick Steele-Idem
18854ed043 Simplified DOM insertion method mixins 2016-12-16 06:26:05 -07:00
Patrick Steele-Idem
438292e152 Avoid issue with circular deps 2016-12-16 06:26:05 -07:00
Michael Rawlings
cef511baaa remove unnecessary el passed to context.deprecate 2016-12-15 18:03:12 -08:00
Michael Rawlings
ac47c069f9 remove need to pass node to and , get it automatically from the context 2016-12-14 18:07:47 -08:00
Patrick Steele-Idem
fe51d25758 Improvements to preserving DOM nodes for rerendered widgets 2016-12-14 13:54:07 -07:00
Patrick Steele-Idem
df6bb46552 Improved error message 2016-12-14 13:54:07 -07:00
Michael Rawlings
bda1cef83c update widget deprecations to use context.deprecate 2016-12-13 20:59:52 -08:00
Michael Rawlings
61a5b25e8d update inline components to not wrap in an iife 2016-12-13 15:20:25 -08: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
Michael Rawlings
7a09d14f1f add back in marko dependency with relative require path 2016-12-10 09:49:21 -08:00
Michael Rawlings
44fef155d2 ensure marko/widgets is available for split widgets 2016-12-09 14:20:00 -08:00
Michael Rawlings
db4f2e7c65 remove unused reference to marko 2016-12-09 14:19:24 -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
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
d51eef34f1 expose template (needed to get metadata) 2016-12-07 23:53:35 -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
170b9085c2 move update inherit function back into raptor-util 2016-12-07 12:09:37 -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
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
2287859736 Removed license from source 2016-12-06 18:11:11 -08:00
Ethan Marmaduke
0634df862e Remove direct require of test utils from within the compiler (#458) 2016-12-06 10:51:38 -08:00
Patrick Steele-Idem
deca5e7c5a Don't bind a root node to a widget if there is nothing to bind to 2016-12-03 12:02:37 -07:00
Patrick Steele-Idem
6b2055487f For template as component entry, widget should be the template 2016-12-03 12:01:58 -07:00
Michael Rawlings
769c572e35 merge + fixes 2016-12-02 14:13:25 -08: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
ba6e4bb4ed Fixed walking of component root nodes 2016-12-02 10:02:09 -07:00
Patrick Steele-Idem
93b17c0493 Made DOM methods mixins for RenderResult and Widget
This makes the code size smaller and easier to maintain
2016-12-02 09:20:22 -07:00
Patrick Steele-Idem
caf8015379 Code reduction in Widget.js 2016-12-02 08:48:00 -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
b1ceda31a4 Support only the global window.$ when supporting the jQuery proxy 2016-11-30 20:55:45 -07:00
Patrick Steele-Idem
abbe88dfca Fixes #452 - Deprecate the layout taglib 2016-11-30 20:46:31 -07:00