468 Commits

Author SHA1 Message Date
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
Patrick Steele-Idem
bc6d2266b0 Added a helper firstChild getter for ArrayContainer 2016-11-29 17:28:08 -07:00
Scott Davis
66768de91c standardize tagString 2016-11-27 19:27:13 -05:00
Scott Davis
4633d84112 remove parenthesis from tag 2016-11-27 17:53:05 -05:00
Patrick Steele-Idem
86a59e5896 Fix related to loading a template that exports a component 2016-11-22 10:01:50 -07:00
Patrick Steele-Idem
9183c2792d Allow callee to provide variable name for imported template 2016-11-22 08:44:00 -07:00
Charlie Duong
fc82ef0cf0 Deprecated w-on* attributes (#434)
Added support for on*() attributes.
2016-11-16 10:53:51 -08:00
Patrick Steele-Idem
0e9fe17735 Fixes #432 (safeHTML), also initial work for #401 (bind additional arguments) 2016-11-14 18:43:00 -07:00
Michael Rawlings
00b52ae5be single file components that use module.exports or export default 2016-11-12 16:49:58 -08:00
Patrick Steele-Idem
520706a945 Fixes #366 - Add support for rendering to a virtual DOM in the browser 2016-11-11 22:39:25 -07:00
Patrick Steele-Idem
82f30a2ec6 Added node.childCount and remove empty text nodes 2016-11-11 21:35:27 -07:00