Commit Graph

40 Commits (440ab4f60b7e7c4fe80565b65929a1a9534de86d)

Author SHA1 Message Date
Ika 02f64af6e3
fix(vue): no error on range format (#4868) 2018-07-22 15:58:29 +08:00
Ika c4be0a57c3
feat(playground): add description for options (#4785)
* feat(playground): add description for options

* fix: support opposite description

* refactor
2018-07-02 08:23:21 +08:00
Ika b4a92c6ee5
feat(playground): use real code sample (#4770)
* feat(playground): double click to insert example

* fix: correct condition

* feat: real code sample

* fix: remove unnecessary updateValue

* feat: auto-select on focus
2018-07-01 16:17:25 +08:00
Ika dcf44ffbdc
feat: support YAML (#4563)
* feat: support YAML

* fix: do not indent sequence in mappingValue

* docs: add yaml to index.md

* fix: reduce `SyntaxError: Node#parse consumed no characters`

* chore: remove old-build and new-worker.js

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* refactor

* fix: no space after `<<`

* fix: add yaml to standalone test

* test: add tests

* fix: next empty line in flow collection

* fix: tabs are not allowed
http://yaml.org/spec/1.2/spec.html#space/indentation/

* fix: update parser

* feat: rewrite the mappingItem logic
* feat: indent sequence in mapping
* feat(doc): add ifBreak#groupId and group#id

* chore: fix node 4

* chore: add tools_yaml.svg

* chore: remove resolved TODO

* refactor: remove unnecessary workaround

* chore(worker): importScriptOnce

* chore(build): rename with babelPlugins

* make it rollup compatible

* feat: support singleQuote

* refactor
2018-06-21 10:29:42 +08:00
Lucas Duailibe f40b82d183
Fix playground (#4541) 2018-05-24 21:11:12 -03:00
Suchipi ec45dc9a4c
(refactor): Move common options out of JS plugin (#4445)
* (refactor): Move common options out of JS plugin

* Add Common category to playground
2018-05-15 14:14:50 -06:00
Ika 1062f2a889
feat: support JSON.stringify formatting (#4450)
* test: move tests

* feat: support legacy JSON formatting

* fix: add missing assertion

* test: fix coverage

* fix: same output as JSON.stringify

* refactor: fix linting

* refactor: rename to json-stringify

* refactor: fix linting

* fix: should fix the production build

* docs: remove outdated name

* fix(playgound): add lib/parser-json-stringify.js

* feat(playgound): add example for json-stringify

* fix: no error on singleQuote string

* fix(playground): correctly load json-stringify

* fix: identifier is only allowed in ObjectProperty.key

* refactor: clearer
2018-05-14 09:12:25 +08:00
Ika b46a46b112 fix(playground): add missing `input` code sample for `copy markdown` (#4382) 2018-04-26 00:37:29 -03:00
Ika 317f3a3c56
feat: split out JSON5 (#4367)
* feat: split out JSON5

* test: update snapshots

* test: update debug-check tests

* feat(playground): use JSON's code sample for JSON5

* fix: add missing trailing newline
2018-04-25 22:10:22 +08:00
Lucas Duailibe 3bc9b68cf6 Remove old playground files 2018-04-20 12:10:32 -03:00
Lucas Duailibe b611c62dea last minute fixes 2018-04-20 11:50:36 -03:00
Lucas Duailibe 1f320a6031 range support 2018-04-20 11:30:47 -03:00
Lucas Duailibe 57cdf314d5 rename 2018-04-20 09:54:15 -03:00
Lucas Duailibe c794de0e9f start overlay support 2018-04-19 19:23:38 -03:00
Lucas Duailibe 9ca95011c0 refactor panels.js 2018-04-19 16:30:35 -03:00
Lucas Duailibe 961d25560f placeholder + refactors 2018-04-19 14:31:35 -03:00
Lucas Duailibe a7a65aceb2 fix empty hash 2018-04-19 13:56:10 -03:00
Lucas Duailibe f3cf50515d fix node 4 problem 2018-04-19 13:55:58 -03:00
Lucas Duailibe 1ed3865cb6 lint fixes 2018-04-17 18:09:36 -03:00
Lucas Duailibe 971da5f8c1 lint fixes 2018-04-17 17:29:44 -03:00
Lucas Duailibe 0ca6ff691e simplify some stuff 2018-04-17 16:42:03 -03:00
Lucas Duailibe 2172ed95bf refactor & fixes 2018-04-17 16:09:44 -03:00
Lucas Duailibe fc52887e94 optimize panel updates 2018-04-17 14:50:53 -03:00
Lucas Duailibe 33c00ca111 handling PR versions 2018-04-17 13:53:20 -03:00
Lucas Duailibe 1f7e48aa46 remove dead code 2018-04-17 13:42:05 -03:00
Lucas Duailibe f90560e6e9 second format 2018-04-17 13:40:55 -03:00
Lucas Duailibe 79a3ec1a04 lift formatting up 2018-04-17 10:28:35 -03:00
Lucas Duailibe ce81ae134c remove unused code 2018-04-13 03:11:41 -03:00
Lucas Duailibe eea6f068b4 refactors 2018-04-12 18:09:37 -03:00
Lucas Duailibe 94b5ab4d6e copy buttons + version link at the top 2018-04-12 15:09:04 -03:00
Lucas Duailibe 1c8dd0c1e7 more stuff 2018-04-12 13:28:28 -03:00
Lucas Duailibe c08aa1e4f8 moving files around 2018-04-12 12:16:16 -03:00
Lucas Duailibe 871ae13bb6 included doc debug 2018-04-12 11:54:30 -03:00
Lucas Duailibe 7b3fecf976 show ast 2018-04-11 22:28:50 -03:00
Lucas Duailibe faceecc776 add graphql mode 2018-04-11 21:01:36 -03:00
Lucas Duailibe 3ab84ad343 include rulers 2018-04-11 20:55:37 -03:00
Lucas Duailibe 602f47c185 moving stuff 2018-04-11 20:33:56 -03:00
Lucas Duailibe 47430d0c19 some huge changes 2018-04-11 18:22:03 -03:00
Lucas Duailibe 4cee59a9cf update 2018-04-11 14:29:07 -03:00
Lucas Duailibe 4edfb67f55 Include webpack to bundle the playground 2018-04-11 14:16:00 -03:00