478 Commits

Author SHA1 Message Date
Patrick Steele-Idem
271b726ecc Fixes #541 - Fixed handling of placeholders in string attribute value 2017-01-19 15:04:38 -07:00
Patrick Steele-Idem
f816916939 Added test for calling toString() on object 2017-01-18 22:43:35 -07:00
Michael Rawlings
cd855f6edf work around issues with server bundling 2017-01-18 18:22:14 -08:00
Patrick Steele-Idem
05028dc02c Use tagString for handling the var tag 2017-01-18 16:25:46 -07:00
Patrick Steele-Idem
f0f5616358 Fixes #531 - Whitespace normalization not handling WIndows EOL correctly 2017-01-13 19:29:49 -07:00
Michael Rawlings
1564788f2e fix regression with pushMeta unique 2017-01-12 13:24:59 -08:00
Michael Rawlings
8a16714e1d use js object for meta and lazily build ast in template root node. removes need for eval in compiled template dependencies getter 2017-01-08 09:55:44 -08:00
Patrick Steele-Idem
2f15401fc4 Fixes #470 - Ensure deprecated tags/attrs are not suggested for autocomplete 2017-01-07 17:51:43 -07:00
Patrick Steele-Idem
4ee45259f4 Check for meta 2017-01-07 15:56:27 -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
29d7482c90 Fixes #508 - Bugs in the static sub-tree optimization for VDOM compilation 2017-01-05 11:05:44 -07:00
Michael Rawlings
0d7839c533 fixes #440 2017-01-04 13:19:33 -05:00
Patrick Steele-Idem
59fee06892 MIT license 2017-01-03 15:56:58 -07:00
Patrick Steele-Idem
fb15db1c16 Fixes #502 - [v4] Multiple non-bubbling events on the same element is broken 2017-01-03 15:44:18 -07:00
Patrick Steele-Idem
20cf6d364e More code size reductions 2017-01-02 15:53:38 -07:00
Patrick Steele-Idem
306e19b88e Changes related to #492 - Added support for body-slot and putting functions in state 2016-12-30 12:17:16 -07:00
Patrick Steele-Idem
c4564b3db2 Pass along filename to htmljs-parser 2016-12-29 13:27:55 -07:00
Patrick Steele-Idem
99199e9f2d Fixes #474 - Assignment null tag 2016-12-28 19:39:53 -07:00
Patrick Steele-Idem
59559b211a Improved compilation for the browser and webpack compatibility 2016-12-28 17:02:24 -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
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
e97a45352d Significant code size reduction 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
Phillip Gates-Idem
cbd95df50e Fixes #478 - TagLookup fails when merging taglibs 2016-12-20 17:19:06 -05:00
Patrick Steele-Idem
dc0e80af0a Fixes #472 - Compiler API: Add compileForBrowser and compileFileForBrowser methods 2016-12-16 06:26:04 -07: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
8ed3977a5a Improved deprecation messages 2016-12-14 13:54:07 -07:00
Michael Rawlings
feb053b979 add context.deprecate method 2016-12-13 20:46:03 -08:00
Michael Rawlings
300d391680 fixes #465 2016-12-13 18:21:30 -08:00
Michael Rawlings
dada89397a more concise template export 2016-12-13 11:57:50 -08:00
Patrick Steele-Idem
5b9977913e Fixes #455 - Simplify compiled code for UI components 2016-12-13 11:34:26 -07:00
Patrick Steele-Idem
0b8ff75894 Var declarations should go through generateCode() 2016-12-13 11:34:26 -07:00
Patrick Steele-Idem
65d7b6e846 Builder: added moduleExports() 2016-12-13 11:34:26 -07:00
Patrick Steele-Idem
4a4998f161 Code generator function should be able to return null to produce no output 2016-12-13 11:34:26 -07:00
Michael Rawlings
5df429d160 add support for component level styles. fixes #456 2016-12-07 23:54:13 -08:00
Patrick Steele-Idem
39df3c1235 Make sure undefined/null elements show up in a literal array 2016-12-06 18:11:11 -08:00
Patrick Steele-Idem
e3e1e65f69 Removed an extra line 2016-12-06 18:11:11 -08:00
Patrick Steele-Idem
f0abbbb614 Make sure container for nested tag is associated with the correct node 2016-12-06 18:11:11 -08: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
abbe88dfca Fixes #452 - Deprecate the layout taglib 2016-11-30 20:46:31 -07:00
Patrick Steele-Idem
6c8cecccea Merge branch 'import-tag' of https://github.com/scttdavs/marko 2016-11-29 17:33:04 -07:00
Patrick Steele-Idem
9c07e9bf61 FIxes #436 - Add support for shorthand nested tags (e.g., <@foo>) 2016-11-29 17:28:09 -07:00
Patrick Steele-Idem
86bb03c280 Cleaned up taglib-loader code to avoid circular dependency issues 2016-11-29 17:28:09 -07:00
Patrick Steele-Idem
d2b26002dd Implement range looping using helper function 2016-11-29 17:28:08 -07:00
Patrick Steele-Idem
81159e9223 Added a builder method for creating a CustomTag 2016-11-29 17:28:08 -07:00
Patrick Steele-Idem
48def61b84 Added a helper firstChild to Node 2016-11-29 17:28:08 -07:00