865 Commits

Author SHA1 Message Date
Patrick Steele-Idem
a94e2e738a Fixes #629 - [vdom] Rendering unescaped HTML produces non-functioning HTML input controls 2017-03-28 15:00:24 -06:00
Patrick Steele-Idem
4dd12b202c Fixes #636 - Add error when macro with duplicate name is found 2017-03-28 13:44:37 -06:00
Patrick Steele-Idem
97904837b7 Added test cases for #630 - Exporting a class from component-browser.js may have issues 2017-03-28 11:24:02 -06: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
9326c5892a Better error message in tests 2017-03-28 11:02:12 -06:00
Patrick Steele-Idem
b51e9b73dd Fixed tests 2017-03-22 10:22:59 -06:00
Patrick Steele-Idem
002c419afe Added test for assigning a key to an element in transcluded content 2017-03-21 16:02:42 -06:00
Patrick Steele-Idem
3d3229d972 Fixed test by adding "use strict" 2017-03-16 10:03:19 -07:00
Patrick Steele-Idem
63f4b430d4 Added test for deprecated constructor() inside a single-file UI component 2017-03-16 09:22:41 -07:00
Patrick Steele-Idem
d3f31bfc95 Don't use constructor() (#619) 2017-03-16 09:22:41 -07:00
Patrick Steele-Idem
34f1b223eb Added morphdom tests into the marko project 2017-03-16 09:22:40 -07:00
Patrick Steele-Idem
4b663bc250 Don't invoke component constructor, only onCreate 2017-03-13 17:47:14 -06: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
238b965e57 Fix Promise polyfill for tests 2017-03-10 12:01:48 -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
fcb4bf6732 Added test cases for #615 (passing) 2017-03-09 20:54:50 -07:00
Patrick Steele-Idem
b526535f54 Added Promise polyfill for PhantomJS 2017-03-09 20:54: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
Michael Rawlings
64679b419a allow marko/express to be used as middleware 2017-03-08 16:58:48 -08:00
Patrick Steele-Idem
ed12109fe5 Fixed test for #612 2017-03-07 13:32:44 -07:00
Patrick Steele-Idem
a4032b7e95 Fixes #612 - Compile error when class method has empty return 2017-03-07 13:26:56 -07:00
Patrick Steele-Idem
80628146ad Fixes #606 - named single-file component doesn't work 2017-03-07 12:07:41 -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
Patrick Steele-Idem
bfd5d55347 Fixes #608 - Component losing renderBody input on a particular redraw 2017-03-06 16:59:23 -07:00
Patrick Steele-Idem
b289de2cb3 Use hidden attribute for marko const ID 2017-03-01 20:28:52 -07:00
Patrick Steele-Idem
7d32145f5b Fix for edge case bug when rerendering a child component that is a parent's root 2017-03-01 19:13:15 -07:00
Patrick Steele-Idem
e8c3c390d0 Ignore attributes on the static tag 2017-03-01 16:24:26 -07:00
Patrick Steele-Idem
8277b83566 Slight improvements to ID generation and other cleanup 2017-02-25 19:56:20 -07:00
Patrick Steele-Idem
8adf6bd92e Changes to allow multiple marko runtimes to be loaded in the same browser page 2017-02-25 19:45:57 -07:00
Patrick Steele-Idem
6c15def67f Fixes #602 - [v4] Add "use strict" to the top of all compiled templates 2017-02-25 17:10:30 -07:00
Patrick Steele-Idem
6c855fc457 Fixes #601 - [v4] expose component instance as a variable in the marko template 2017-02-25 16:43:58 -07:00
Patrick Steele-Idem
e7a56395e8 Code size reductions 2017-02-25 16:29:32 -07:00
Michael Rawlings
7e04c7ee52 fixes #598. ensure index.marko as clientside dependency 2017-02-24 11:35:24 -08:00
austinkelleher
35dc0c4429 Fixes #593 - Add additional properties to Scriptlet class. 2017-02-22 03:15:51 -05:00
Patrick Steele-Idem
bc384549f6 Updated tests 2017-02-21 17:16:53 -07:00
Patrick Steele-Idem
fc5e8854c3 Don't use deprecated features in non-deprecated tests 2017-02-21 16:36:26 -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
4782f28ca8 Non-legacy tests passing after rename of "widget" to "component" 2017-02-21 13:29:08 -07:00
Patrick Steele-Idem
c8c0595b3b marko-components to marko/components 2017-02-20 16:33:54 -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
f4e662cde7 Renamed test dirs: "widgets" --> "components" 2017-02-20 16:04:50 -07:00
Michael Rawlings
71688ba544 don't overwrite _arg with widget, it isn't necessary. fixes #583 2017-02-13 13:26:06 -08:00
Patrick Steele-Idem
ec87bffd5e Fixes #582 - [v4] Introduce forceUpdate() 2017-02-10 11:04:22 -08:00
Patrick Steele-Idem
b1e7dde2b9 Allow component.js to export a class 2017-02-10 10:11:01 -08:00
Patrick Steele-Idem
0932846e31 Merge branch 'master' of https://github.com/marko-js/marko 2017-02-09 19:55:17 -08:00
Patrick Steele-Idem
ec9cd453ea Changes to support Try Online in the browser 2017-02-09 19:55:02 -08:00
Michael Rawlings
32e6f98465 add number test 2017-02-09 17:08:33 -08:00
Michael Rawlings
1d35a74dec fix tests 2017-02-09 15:32:39 -08:00
Michael Rawlings
2afd1837f9 fix non-index components 2017-02-09 15:16:40 -08:00