Commit Graph

79 Commits (b49e6da64cdfb35ae1d7397447622d29d880bd06)

Author SHA1 Message Date
Efthymis Sarmpanis b1909dc19b Properly override toString in CompileError
8 years ago
Rich Harris a8eaa7e95c refactor
8 years ago
Rich Harris c9aa72313e throw error on illegal context (#934)
8 years ago
Rich Harris 0a01aa0243
Increase code coverage
8 years ago
Rich Harris 51901442c9
attach globals to state object on initialisation
8 years ago
Rich Harris 775866780e
combine multiple bindings in single handler, implement bind:indeterminate — fixes #910
8 years ago
Rich Harris bcae68de06 treat quoted property names the same way as identifiers - fixes #914
8 years ago
Rich Harris dc3785c1e2 fix escaping of %-prefixed names
8 years ago
Rich Harris 64026c3ba9 Merge pull request #854 from sveltejs/gh-782
8 years ago
Rich Harris b1cbffece6 remove excess parentheses
8 years ago
Rich Harris 58cc7f8ed1 allow console.* calls in event handlers. fixes #782
8 years ago
Rich Harris a90e072086 alt-text
8 years ago
Rich Harris 228a7808ac optimize style attributes
8 years ago
Rich Harris 361a19df17 wrap fallback hydration code in conditional
8 years ago
Rich Harris aa183df289 fallback content
8 years ago
Rich Harris d734a6b823 start work on <slot>
8 years ago
Rich Harris 9053e95460 rename addConditionalLine to addConditional
8 years ago
Rich Harris 4dd5fc5594 apply optimisation to raw tags
8 years ago
Rich Harris 531354fc39 only cache values when it makes sense
8 years ago
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
9 years ago