Commit Graph

144 Commits (d36fc76fc2ea85faa4068b686a668193488dfb00)

Author SHA1 Message Date
Mikhail Korepanov 0ab7077d40 Move slot names test to runtime. Allow slot names that start with a digit
8 years ago
Mikhail Korepanov e85138f3e3 Don't remove digits and _ from slot names
8 years ago
Rich Harris 7e8e891d91 Tidy up (#2252)
8 years ago
Richard Harris 8d85927e7d more imported store stuff
8 years ago
Richard Harris bfbab276f3 pedantic code generation stuff
8 years ago
Rich Harris 54c0a3b656 only escape attribute values when rendering HTML
8 years ago
Rich Harris db5cb2de9f enclose text/compound slot attributes in backticks - fixes #2061
8 years ago
Rich Harris 4d25d93ea0 Overhaul stats — closes #1891
8 years ago
Rich Harris 69c9422907 Better composition — implements https://github.com/sveltejs/rfcs/pull/12
8 years ago
Richard Harris 6c1076c580 housekeeping
8 years ago
Chris Reeves 4f4577aef3 use statement tree for code builder instead of strings to avoid conditional interference
8 years ago
Richard Harris bc10a15aa1 add process to globals whitelist
8 years ago
Rich Harris efba821c84 Implement reactive assignments (#1839)
8 years ago
Rich Harris f5ff2d4274 Merge pull request #1810 from sveltejs/gh-1809
8 years ago
Rich Harris 1be1106477 dont mutate AST
8 years ago
Conduitry 247d220355 add replaceAsync util function
8 years ago
Rich Harris f134494615 deprecate onerror - fixes #1745
8 years ago
Rich Harris 3d7a15ec9a [WIP] Refactor, change where validation occurs (#1721)
8 years ago
Rich Harris 91ba205942 tidy up
8 years ago
Admin 868eb7b0af Adds tests for valid and invalid debug tag usage.
8 years ago
Rich Harris ed9a7250f2 handle rest elements in computed properties - fixes #1540
8 years ago
Christian Kaisermann 6545b94c54 Fix prefixed animation name replacement
8 years ago
Christian Kaisermann cb62b47d4f Make the compiler also transform prefixed @keyframes
8 years ago
Rich Harris 152aff3a23 quote slot names if necessary - fixes #1461
8 years ago
Arturo 7a43943a9f add _Promise_ to whitelisted globals
8 years ago
Rich Harris 0e793011a8 allow spread props on elements with tests for static attributes
8 years ago
Rich Harris 01dc4a7b85 bind to dimensions
9 years ago
Rich Harris 4d1e71fdd5 sparse array patterns
9 years ago
Rich Harris 58f481d2e4 destructuring
9 years ago
Rich Harris 21c4d9ce55 overwrite this in custom event handlers - fixes #1297
9 years ago
Rich Harris 8bcb0f2bf1 rename Generator -> Compiler
9 years ago
Rich Harris ebfab2c7cc no need to clone ast
9 years ago
Rich Harris b68e9f5596 put precedence logic on expression
9 years ago
Rich Harris dd61ceba66 minor fixes, update various tests
9 years ago
Rich Harris 4653fe6b8a various
9 years ago
Rich Harris 3186f2e0ba WIP
9 years ago
Rich Harris 9ff50fcc8d rename function to make it easier to find
9 years ago
Rich Harris e65253ddde remove legacy prop stuff, now that we emit ES2015
9 years ago
Rich Harris b72225a28f rename loc to start, include character info in locations
9 years ago
Rich Harris 7b1df97d7e add codes to validation errors
9 years ago
Rich Harris c6157909c3 fix debugging comments
9 years ago
Rich Harris d1ca636120 v2 js tests
9 years ago
Rich Harris 17427b5a79 Merge pull request #1296 from sveltejs/fix-errors
9 years ago
Rich Harris 3af38db0f2 Merge pull request #1289 from sveltejs/gh-195
9 years ago
Rich-Harris 8d69ebb8f4 SSR spread elements
9 years ago
Rich-Harris cbd0ce7cbe fix CompileError constructor
9 years ago
Rich-Harris 8a38ba3636 basic attribute spreading on elements
9 years ago
Josh Duff 4539466c0c Accept backtick string literals in tag/props properties
9 years ago
Josh Duff 3062a86435 Fix backtick string literals not being recognized for the svg property
9 years ago
James Birtles 4bda127108 add end position to errors
9 years ago