Commit Graph

146 Commits (ca8c856ed6fd7a3d7cd0f911b5af0f234dceca4f)

Author SHA1 Message Date
Julien Mourer 4631b1b93f Add `window` and `document` to globals
7 years ago
Emil Tholin b0e057233c Add alert, confirm, and prompt to globals
7 years ago
Mikhail Korepanov 33914410aa Move slot names test to runtime. Allow slot names that start with a digit
7 years ago
Mikhail Korepanov 079ce998ef Don't remove digits and _ from slot names
7 years ago
Rich Harris 21d56c9ee3
Tidy up (#2252)
7 years ago
Richard Harris 6ea722a18a more imported store stuff
7 years ago
Richard Harris 5af301abb8 pedantic code generation stuff
7 years ago
Rich Harris cb2799d1ef only escape attribute values when rendering HTML
7 years ago
Rich Harris e9b714110c enclose text/compound slot attributes in backticks - fixes #2061
7 years ago
Rich Harris b1d919f3f2
Overhaul stats — closes #1891
7 years ago
Rich Harris c2e6d1bf0d
Better composition — implements https://github.com/sveltejs/rfcs/pull/12
7 years ago
Richard Harris f1ca1cc098 housekeeping
7 years ago
Chris Reeves 1f77ee3461 use statement tree for code builder instead of strings to avoid conditional interference
7 years ago
Richard Harris c2d4ce3395 add process to globals whitelist
7 years ago
Rich Harris f45e2b70fd
Implement reactive assignments (#1839)
7 years ago
Rich Harris 85b731c1bc
Merge pull request #1810 from sveltejs/gh-1809
7 years ago
Rich Harris e4c0d8d576 dont mutate AST
7 years ago
Conduitry e8be01693c add replaceAsync util function
7 years ago
Rich Harris bf50b47bb5 deprecate onerror - fixes #1745
7 years ago
Rich Harris 9031c16905
[WIP] Refactor, change where validation occurs (#1721)
7 years ago
Rich Harris b6c3749d99 tidy up
7 years ago
Admin 4004a569e1 Adds tests for valid and invalid debug tag usage.
7 years ago
Rich Harris 7d55a57a2c handle rest elements in computed properties - fixes #1540
7 years ago
Christian Kaisermann fe9a68d071 Fix prefixed animation name replacement
7 years ago
Christian Kaisermann 877fbeffec Make the compiler also transform prefixed @keyframes
7 years ago
Rich Harris c28f62a117 quote slot names if necessary - fixes #1461
8 years ago
Arturo 6b9ad23922 add _Promise_ to whitelisted globals
8 years ago
Rich Harris fa61d2570e allow spread props on elements with tests for static attributes
8 years ago
Rich Harris 541ec6c397 bind to dimensions
8 years ago
Rich Harris 9607593705 sparse array patterns
8 years ago
Rich Harris 506ab3952e destructuring
8 years ago
Rich Harris 1fb4041519 overwrite this in custom event handlers - fixes #1297
8 years ago
Rich Harris 9b70523529 rename Generator -> Compiler
8 years ago
Rich Harris f892389b00 no need to clone ast
8 years ago
Rich Harris 4c8a5c598d put precedence logic on expression
8 years ago
Rich Harris 86d3476b55 minor fixes, update various tests
8 years ago
Rich Harris d960827f96 various
8 years ago
Rich Harris 9ff1beec48 WIP
8 years ago
Rich Harris c84bd85167 rename function to make it easier to find
8 years ago
Rich Harris 6ff02b263e remove legacy prop stuff, now that we emit ES2015
8 years ago
Rich Harris 5a457bfb87 rename loc to start, include character info in locations
8 years ago
Rich Harris b86a1edb52 add codes to validation errors
8 years ago
Rich Harris 94a7ffb9a5 fix debugging comments
8 years ago
Rich Harris bb61e6e911 v2 js tests
8 years ago
Rich Harris 5d02b9e090
Merge pull request #1296 from sveltejs/fix-errors
8 years ago
Rich Harris f27b29d5cb
Merge pull request #1289 from sveltejs/gh-195
8 years ago
Rich-Harris 8813ee3b0f SSR spread elements
8 years ago
Rich-Harris f6dd6edc9d fix CompileError constructor
8 years ago
Rich-Harris 40cf29b2b7 basic attribute spreading on elements
8 years ago
Josh Duff 864fd313bb Accept backtick string literals in tag/props properties
8 years ago