453 Commits

Author SHA1 Message Date
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
Patrick Steele-Idem
be56ba6e8d Fixes #139 - Allow dynamic custom tags to be used with <include> 2016-11-11 16:59:01 -07:00
Patrick Steele-Idem
a64044af3e Additional fixes for #386 - Allow regular expression for an HTML attribute value 2016-11-10 08:00:47 -07:00
Patrick Steele-Idem
da52209e5a Use flags provided with RegExp instead of defaulting to "gi" 2016-11-10 07:59:46 -07:00
Patrick Steele-Idem
adb7fe1623 Fixes #386 - Allow regular expression for an HTML attribute value 2016-11-09 19:22:05 -07:00
Patrick Steele-Idem
a35e6bdbc3 Fixes #408 - Allow transformer to be registered at the template level 2016-11-09 14:41:33 -07:00
Patrick Steele-Idem
4eff2e349b Switched to resolve-from@^2 2016-11-09 11:28:53 -07:00
Patrick Steele-Idem
36ef493526 Improved compiled output by setting module.exports at the top 2016-11-08 15:14:55 -07:00
Patrick Steele-Idem
21a43c010a Merged in marko-html-util 2016-11-02 22:36:56 -06:00
Patrick Steele-Idem
3010570502 Completed merge of marko-widgets and other cleanup 2016-11-02 16:12:13 -06:00
Patrick Steele-Idem
9a86d848f2 Merge branch 'master' of github.com:marko-js/marko into marko-v4 2016-10-28 12:29:50 -06:00
Patrick Steele-Idem
befb144486 Added support for native array looping 2016-10-28 12:10:22 -06:00
Patrick Steele-Idem
4c6d1810da Added: ast/SequenceExpression 2016-10-28 12:07:58 -06:00
Michael Rawlings
6b4ff673e3 fix conflicts and such 2016-10-26 23:22:53 -07:00
Michael Rawlings
796b60c3ed add support for dependency tracking through metadata 2016-10-26 23:13:16 -07:00
Michael Rawlings
1d3d14d01e allow finding index.marko, rework the tag scanning to hit the filesystem less 2016-10-26 18:15:46 -07:00