233 Commits

Author SHA1 Message Date
Michael Rawlings
75f1628d99 update to new htmljs-parser which supports pipe params, add flagged tag param migration (#1236)
* update to new htmljs-parser which supports pipe params, add flagged tag param migration
2019-01-17 13:26:59 -08:00
Michael Rawlings
3afd7d4264
regenerate package-lock and run prettier 2018-12-11 13:19:07 -08:00
Damodaran
8ad3c30a7a Update lasso.md (#1089) 2018-12-06 13:27:12 -08:00
De Oliveira Tristan
1bfe909c36 added scoped link feature (#1172)
* added scoped link feature
* added scoped link to documentation
2018-11-21 13:10:45 -08:00
Denis Sikuler
d49055beed Fix several typos in components documentation (#1141)
* Fix several typos in components documentation

* Remove redundant word from components docs
2018-10-02 10:11:49 -04:00
Thord Setsaas
d1d3aa04d3 Fixed typos in components.md (#1127)
Removed two instances of duplicated words, "to to" and "so so"
2018-09-13 13:35:01 -06:00
Michael Rawlings
1303efaa27
fixes #800 - add docs for boolean attributes 2018-08-29 13:03:00 -07:00
Michael Rawlings
4937dcd3fc
closes #847 - allow discovering tags where the template name matches the directory (#1117)
* closes #847 - allow discovering tags in the directory structure components/tag-name/tag-name.marko

* add docs for discovering tags with template name matching parent directory
2018-08-28 16:35:22 -07:00
Michael Rawlings
9e7c334946
fixes #999 remove non-existant method from docs 2018-08-28 14:48:52 -07:00
Anton Wilhelm
de9674efe6 fix missing module to install (#1110)
lasso module is missing

CLI installation globally is not enough, otherwise I get this error:
Error while applying option of "plugin". 
Cause: Error: Cannot find module 'lasso/package'
2018-08-16 05:59:45 -04:00
Michael Rawlings
168dc9b71e
support functions as event handlers (#1106) 2018-08-07 14:58:47 -07:00
Austin Wei
ffb5a0b51b typo in code example (#1093)
First time looking at marko, but I think that `users` should be `user`
2018-07-20 16:33:13 -04:00
Michael Rawlings
8bcb848297
enable style arrays (#1082) 2018-07-10 13:06:14 -07:00
Sandeep Vattapparambil
8e0cb388a7 Documentation on components updated (#1061) 2018-06-29 13:52:47 -07:00
Michael Rawlings
a78c54d25e
fix formatting, ignore ~* when formatting 2018-06-24 17:55:36 -07:00
Dustin Brown
2d307739df Improve parity between React and Marko example (#1037)
* improve parity between React and Marko example

There was some unnecessary cruft in the opening React example. This simplifies it to make it more in line with the Marko example.

* fix broken React example

The example I gave didn't work. I've fixed it and changed `var` use to `const` and `let`.
2018-06-22 09:43:56 -04:00
Austin Kelleher
d9805d0e28 Update prettier (#1062)
* update prettier
* format files with new version of prettier
2018-06-21 10:40:44 -07:00
Michael Rawlings
e2fd5b63da
dynamic tag (#1057) 2018-06-19 17:11:54 -07:00
Michael Rawlings
d84a1d79a0
format 2018-06-19 13:54:03 -07:00
Damodaran
2aeac694a4 Adding docs for new package types for Marko with Lasso (#1047) 2018-06-19 13:42:33 -07:00
Sandeep Vattapparambil
afc473d892 DOCS Updated. (#1054)
Documentations on split components has beed edited and updated.
2018-06-19 13:29:28 -07:00
Austin Kelleher
6e55f146a0 Fix #1049 - Fix documentation urls on the website. 2018-05-23 17:11:40 -04:00
kounelios13
d7c135891b Use http variable (#1024)
Instead of requiring the http module again use the http variable.
2018-03-23 11:45:50 -04:00
Michael Rawlings
0f5e639775 Format + lint (#1016)
* add prettierignore

* switch to eslint:recommended + eslint-config-prettier

* fix eslint violations

* remove more .jshintrc files

* better conditional structure

* add prettier and update prettier ignore

* add precommit hook to run prettier

* add lint check to precommit and format check to ci

* format all the things

* add generated files

* let npm do it's thing with package.json
2018-03-09 10:02:11 -08:00
Scott Davis
f76bfff323 Add once-[event] directive Fixes #985 (#990)
* Add `once-[event]` directive.
* Improve docs for attaching events.
2018-02-20 10:33:43 -08:00
Michael Rawlings
ecc7763f26 Update lasso.md 2018-02-14 11:35:25 -08:00
Ajaykumar
09ed886009 Updated the docs to use lasso-marko-taglib.
Make sure to use lasso-marko-taglib, when we are using latest lasso versions.
2018-02-14 11:35:25 -08:00
Michael Rawlings
4d11fa6802 Spread attributes. Completes #878 (#967)
* add spread operator and update docs.
2018-02-06 16:01:25 -08:00
Guru Prasath
74f6dcd3fa Updated the marko-fastify project link (#977)
Fixed the incorrect marko-fastify project link.
2018-01-24 08:20:12 -05:00
Scott Davis
de45c3aa12 update docs for advanced attribute definition (#968) 2018-01-08 17:27:51 -05:00
Rohit Gohri
413618bc73 Update Docs: Fix framework integrations' doc links (#936)
The links for express, hapi, koa, huncwot were not working. Appended '.md' to them to resolve the issue.
2017-11-29 16:17:36 -08:00
Austin Kelleher
6ed3628846 Add 10 Awesome Marko Features article. 2017-10-26 07:31:41 -04:00
Patrick Steele-Idem
0344faf8ab Fixes #861 - Add docs for the :scoped modifier on attributes 2017-10-12 17:12:47 -06:00
Austin Kelleher
084e0613a0 Fixes #865 - Add documentation for Fastify. 2017-09-27 09:12:57 -07:00
Patrick Steele-Idem
5d60824590 Fixes #631 - Add docs for including an imported component 2017-09-26 16:29:50 -07:00
Patrick Steele-Idem
a5c8061a17 Fixes #642 - [docs] Clarify that JS vars cannot be used in the style section 2017-09-26 16:03:33 -07:00
Yoni Medoff
f4e819c142 fix docs link to lifecycle methods 2017-09-16 09:48:40 -07:00
Phillip Gates-Idem
cd832fd78a Fixes #841 (#842) 2017-09-14 22:58:14 -04:00
Austin Kelleher
d0bad9de4d Merge pull request #816 from DylanPiercey/input-global-update
Add ability to update globals by setting new input.
2017-08-28 14:50:02 -04:00
Dylan Piercey
93eee66ee0 Add ability to update globals by setting new input. 2017-08-27 07:57:48 -07:00
Kim Seungha
00af5ee02c Update installing.md
`npm install` is not necessary. `marko create` executes it.
2017-08-20 22:37:57 +09:00
Patrick Steele-Idem
23664546db Update installing.md 2017-08-10 11:52:49 -06:00
Austin Kelleher
facc591a9b Fix reference to lifecycle section in docs. 2017-08-07 13:04:46 -04:00
Austin Kelleher
b030c7c79f Hello file path to hello.marko 2017-08-03 14:32:31 -04:00
Victor Hom
9c242fca73 Update webpack.md 2017-07-29 17:22:38 -04:00
Patrick Steele-Idem
8b039ab9da Use common font for SVG 2017-07-20 10:13:56 -06:00
Austin Kelleher
0d56ec9c10 Merge pull request #758 from marko-js/757-key-attribute-postfix
fixes #757 - `:key` attribute postfix
2017-07-18 17:30:10 -04:00
Austin Kelleher
9d4d39b38c Address key suffix feedback. Additional tests. 2017-07-18 17:25:00 -04:00
Austin Kelleher
86767055f2 Add link to express sample app. 2017-07-12 16:13:09 -04:00
Michael Rawlings
27be945553 update why-is-marko-fast picture 2017-07-11 23:45:14 -07:00