Commit Graph

2145 Commits (f56445f3a1d806eb2782ad616e51efb6d3a5e8fe)

Author SHA1 Message Date
Rich Harris 400ccce081 include filename in error/warning objects
10 years ago
Rich Harris a5bcba1616 lint
10 years ago
Rich Harris 2e394a259e allow local data to override globals
10 years ago
Rich Harris b4c3100a6e merge master -> gh-185
10 years ago
Rich Harris 85c0381540 intercept parse errors with options.onerror
10 years ago
Rich Harris 014334128d implement triples in SSR compiler, and escape HTML for regular tags
10 years ago
Arpad Borsos 48e325f3f5 move generator into separate file
10 years ago
Rich Harris aa62c91f3d Merge pull request #183 from sveltejs/builder
10 years ago
Rich Harris b16a75ae5e Merge pull request #187 from sveltejs/gh-178
10 years ago
Rich-Harris e8fc20cc8a bump coverage – duplicate default export is handled by acorn
10 years ago
Rich-Harris 78265c5b2d throw if default export is not an object literal
10 years ago
Rich-Harris f143367ba2 use setAttribute() for list attributes – fixes #178
10 years ago
Rich-Harris 05972f7ac5 null is not an identifier
10 years ago
Rich-Harris d48b72de55 allow whitelisted globals (#185)
10 years ago
Rich-Harris 21a7fe4dd5 ensure onrender and onteardown are not arrow function expressions
10 years ago
Rich-Harris f3a0880388 error if method is an arrow function expression and uses `this` or `arguments` (#179)
10 years ago
Rich-Harris a100c608d7 fix prepending code to builders
10 years ago
Rich-Harris 84bfbcb0c5 use builders for local.init and local.update
10 years ago
Rich-Harris 7b32c881f4 use builder instead of local.mount
10 years ago
Rich-Harris 49665232eb use builders in place of local.detach and local.teardown
10 years ago
Rich-Harris b21d3ffbe8 fix detach order for triples
10 years ago
Rich-Harris f872e4e2f5 use builders everywhere
10 years ago
Rich-Harris e903d25afd use builders for init statements
10 years ago
Rich-Harris c3eba3ce40 Merge branch 'master' into builder
10 years ago
Rich-Harris f310b3541c add support for declared namespaces – fixes #147
10 years ago
Rich Harris b2ecf2ef87 Merge pull request #171 from sveltejs/gh-150
10 years ago
Rich Harris b95a2b84c6 Merge pull request #169 from sveltejs/gh-167
10 years ago
Rich Harris 111910d85b Merge pull request #170 from sveltejs/gh-162
10 years ago
Rich-Harris 96f1c5b8ac move generate/index.js over to CodeBuilder
10 years ago
Rich-Harris cce920240a add CodeBuilder utility for easier codegen
10 years ago
Rich-Harris fd3410398c make mount private (#150)
10 years ago
Rich-Harris 4f4a967fd6 support node methods in event handlers (#162)
10 years ago
Rich-Harris 2768653a47 allow event handlers to call event methods e.g. stopPropagation – closes #162
10 years ago
Rich-Harris 2c8f73f2b6 omit attributes for SSR – fixes #163
10 years ago
Rich Harris 8dd5ae5372 implement Comment in SSR compiler – fixes #165
10 years ago
Rich Harris 6a00ccbbf0 allow functions in data/computed - fixes #163
10 years ago
Rich Harris e55f273188 lint
10 years ago
Arpad Borsos 09a61da188 add a compiler option to output SSR code
10 years ago
Arpad Borsos e9c99ed9f4 restructure tests
10 years ago
Rich Harris 8aa3a2b163 implement css: false in main compiler (#153)
10 years ago
Rich Harris b1314f476b remove logging
10 years ago
Rich Harris 645d44b799 pass filename through to SSR compiler
10 years ago
Rich Harris 597aac2010 server-rendered CSS (#153)
10 years ago
Rich Harris 284c2bf8f3 rename folders to remove .gitignore confusion
10 years ago
Rich Harris 973cf04e52 move files into src in preparation for SSR integration
10 years ago