Commit Graph

60 Commits (4aae9a797e9a990dbb9becede83c38014d198b8c)

Author SHA1 Message Date
Conduitry 0e9f16b589 don't over-escape '#' in sharedPath
8 years ago
Conduitry b869e48bff saner escaping/unescaping of `@` and `#` sigils
8 years ago
Rich Harris b99e9207ac reuse helper
8 years ago
Rich Harris a524ab273e fix escaping/unescaping — closes #741
8 years ago
Rich Harris ac3c1086e3 use Records to remove TS errors
8 years ago
Rich Harris bd9c59aa5a fix various typescript errors
8 years ago
Rich Harris 815c17cbe7 fix unescaping edge case
8 years ago
Rich Harris fd177771af remove unused code
8 years ago
Rich Harris 65e27c98a0 reduce duplication by moving validation into stylesheet
8 years ago
Rich Harris 7a752df55d fix handling of modified :global(...) selectors
8 years ago
Rich Harris 5f6db88538 allow :global(...) selectors to have trailing modifiers
8 years ago
Rich Harris f485c25620 create reusable walkRules helper
8 years ago
Rich Harris 5499327a70 refactoring, and more :global(...) fixes
8 years ago
Rich Harris ebae9f9c28 run prettier
8 years ago
Rich Harris 334772a11d use #foo instead of block.alias("foo")
8 years ago
Rich Harris 135f626395 include ast in svelte.compile return value (#632)
8 years ago
Rich Harris 596ab3a7fe remove TODO, is now taken care of
8 years ago
Rich Harris e0917fd874 allow components to have computed member expressions for bindings (fixes #624)
8 years ago
Rich Harris 4b1f1e8392 TS-ify spaces.js and deindent.js, so they get included in prettier task
8 years ago
Rich Harris b0a1616e31 add trailing commas to prettier config, only run on .ts files
8 years ago
Rich Harris 84595fb381 run prettier on src, update tests
8 years ago
Rich-Harris 4d5107113e more TS
8 years ago
Rich-Harris 48384b846c typescriptify validator
8 years ago
Rich-Harris 7c3fca57cf more typescript conversion
8 years ago
Rich-Harris 8d07a5f9bd gah, rollup needs the file extensions. which idiot wrote it
8 years ago
Rich-Harris e85bec00a2 add a few type annotations
8 years ago
Rich-Harris 13b87acfb9 remove .ts file extensions
8 years ago
Rich-Harris 1c5e6e7430 rename all (almost) .js files
8 years ago
Rich-Harris 0d67026904 more simplification
8 years ago
Rich-Harris a5f7fe79ea collapse constructor block into builders.main
8 years ago
Rich-Harris 65064cb70c improve deindent slightly — allow inline false expressions (which get removed), and trim trailing tabs
8 years ago
Rich-Harris 8ccad1f107 first working intro transition, woooo
9 years ago
Rich-Harris e345287a76 rename root to state, and allow state to be used as context
9 years ago
Rich-Harris 9f2bd988a0 collapse text around comments
9 years ago
Rich-Harris a59e017fad separate if statements in codebuilder
9 years ago
Rich-Harris 51ff9ecfa6 allow helpers to depend on one another (closes #481)
9 years ago
Rich Harris 3595470305 validate namespaces
9 years ago
Rich Harris 2852b96e65 collapse consecutive if-statements with the same condition (#450)
9 years ago
Rich-Harris caec96f9da make abstract removeNode function
9 years ago
Rich-Harris 91bf849cc7 generate more idiomatic code when removing object properties
9 years ago
Rich-Harris cf626ff880 retain binding sourcemaps to the extent possible
9 years ago
Conduitry 6d1623cf0e new aliaser mechanism replacing existing mechanism and counters; a bunch more deconflicting
9 years ago
Conduitry e3055d765e fix removeObjectKey when removing last key in object and it has a trailing comma
9 years ago
Conduitry 8e5c7ed21e removeObjectKey API tweak
9 years ago
Conduitry 77321f8356 remove `namespace` key from generated code
9 years ago
Rich Harris 5866a99b9a treat binding values as expressions
9 years ago
Conduitry 52b3a43e7b accept DOCTYPE element in any case
9 years ago
Matt Steitle 522f293766 dontThrowParseErrorOnDoctypeDeclaration: Adding additional specification for doctype tag matching
9 years ago
Rich-Harris e45b15c3da centralise voidElementNames
9 years ago
Rich Harris 6444e8da29 merge master -> gh-185
9 years ago