2583 Commits

Author SHA1 Message Date
Patrick Steele-Idem
4bd5ce61e2 Performance optimizations for server-side serialization of WidgetDefs 2016-12-22 15:24:35 -07:00
Patrick Steele-Idem
24a28eaa33 Merge pull request #482 from Hesulan/async-widget-bug
Fixed bug where widgets initialized before the runtime is loaded are lost
2016-12-22 15:21:12 -07:00
Ethan Marmaduke
3eedac5e51 Fixed bug where widgets initialized before the runtime is loaded are lost 2016-12-22 11:48:39 -05:00
Patrick Steele-Idem
42fceecce5 Only run jshint once 2016-12-21 22:42:10 -07:00
Patrick Steele-Idem
5c741d1170 Fixes #481 - Placeholder should be allowed within open tag for custom tags for dynamic attrs 2016-12-21 22:37:14 -07:00
Patrick Steele-Idem
6e71268a0d Added test for #424 - Allow whitespace in attribute value expressions not wrapped in parenthesis 2016-12-21 22:20:48 -07:00
Patrick Steele-Idem
630e63989e Added test #480 - Allow commas between attributes and semicolon at end 2016-12-21 20:41:09 -07:00
Patrick Steele-Idem
41dfbe3000 Added test for #403 - Allow spaces between attribute names and values 2016-12-21 20:39:20 -07:00
Patrick Steele-Idem
65b6ff8ef0 Switched from "-" to "--" in concise templates 2016-12-21 20:32:45 -07:00
Patrick Steele-Idem
b7b15e4eb1 Fixes #479 - Provide ability to relax required comma for certain tags such as the <import> tag 2016-12-21 20:32:30 -07:00
Patrick Steele-Idem
93a480a93a Removed bad console.log 2016-12-21 20:22:38 -07:00
Patrick Steele-Idem
b23a922e95 Added back jshint 2016-12-20 17:06:53 -07:00
Patrick Steele-Idem
e97a45352d Significant code size reduction 2016-12-20 17:06:53 -07:00
Patrick Steele-Idem
4dcc1b2775 Initial batch of migrating to v4 for all non-deprecated widget tests 2016-12-20 17:06:53 -07:00
Patrick Steele-Idem
28af198854 index.marko should have priority over renderer.js when scanning for tag renderer 2016-12-20 17:06:53 -07:00
Patrick Steele-Idem
854ab0d849 More code size reductions (work-in-progress) 2016-12-20 17:06:52 -07:00
Patrick Steele-Idem
2277d97c44 Code size reduction 2016-12-20 17:06:52 -07:00
Phillip Gates-Idem
cbd95df50e Fixes #478 - TagLookup fails when merging taglibs 2016-12-20 17:19:06 -05:00
Michael Rawlings
b88cd72d4e Merge branch 'master' of github.com:marko-js/marko 2016-12-19 17:11:28 -05:00
Michael Rawlings
7d5635501c use minprops in benchmarks 2016-12-19 17:11:21 -05:00
Justin Varghese John
01c811056e Add syntax highlighting extension (#473) 2016-12-18 15:41:28 -08: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
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
Patrick Steele-Idem
9700bbfd9a Added benchmark/size 2016-12-16 06:26:04 -07:00
Patrick Steele-Idem
5dc913841d Use compileFileForBrowser 2016-12-16 06:26:04 -07:00
Patrick Steele-Idem
dc0e80af0a Fixes #472 - Compiler API: Add compileForBrowser and compileFileForBrowser methods 2016-12-16 06:26:04 -07:00
Patrick Steele-Idem
b2903a14db Changed method signature for api-compiler autotests 2016-12-16 06:26:04 -07:00
Michael Rawlings
890e97f022 fixes #464 2016-12-15 18:09:40 -08:00
Michael Rawlings
cef511baaa remove unnecessary el passed to context.deprecate 2016-12-15 18:03:12 -08:00
Michael Rawlings
eb2351212d remove Tag#inheritFrom. fixes #469 2016-12-15 13:56:51 -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
Michael Rawlings
8c44e05a9f Merge branch 'master' of github.com:marko-js/marko 2016-12-14 17:33:30 -08:00
Michael Rawlings
2980546f7c deprecate in favor of 2016-12-14 17:32:50 -08:00
Patrick Steele-Idem
f7bba2714d 4.0.0-beta.4 v4.0.0-beta.4 2016-12-14 13:57:56 -07: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
Patrick Steele-Idem
8ed3977a5a Improved deprecation messages 2016-12-14 13:54:07 -07:00
Patrick Steele-Idem
77e6c7ff2d Fixed edge case when parsing for loop
"stepIndex, step in state.steps" did not parse correctly because of " step" being a token
2016-12-14 13:54:07 -07:00
Michael Rawlings
276013e495 remove deprecated methods in AsyncStream. fixes #466 2016-12-14 12:01:58 -08:00