0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00
Commit Graph

2337 Commits

Author SHA1 Message Date
Rich Harris
9e347f1685 Merge pull request #186 from sveltejs/gh-185
allow whitelisted globals
2016-12-15 14:07:15 -05:00
Rich Harris
2d256840f8 lint 2016-12-15 14:04:08 -05:00
Rich Harris
bdba7531df allow local data to override globals 2016-12-15 13:06:52 -05:00
Rich Harris
6444e8da29 merge master -> gh-185 2016-12-15 12:55:15 -05:00
Rich Harris
14ef2ed41e Merge pull request #199 from sveltejs/onerror
intercept parse errors with options.onerror
2016-12-15 12:47:41 -05:00
Rich Harris
c453ae5dd0 increase patch coverage, again 2016-12-15 12:45:29 -05:00
Rich Harris
c09a02caf2 increase patch coverage 2016-12-15 12:36:17 -05:00
Rich Harris
a9262f45ea intercept parse errors with options.onerror 2016-12-15 12:26:21 -05:00
Rich Harris
a4a67ff98f -> v1.2.4 2016-12-15 11:13:29 -05:00
Rich Harris
81e62ee924 Merge pull request #198 from sveltejs/gh-197
implement triples in SSR compiler, and escape HTML for regular tags
2016-12-15 11:12:11 -05:00
Rich Harris
c8b232f431 implement triples in SSR compiler, and escape HTML for regular tags 2016-12-15 10:55:39 -05:00
Arpad Borsos
23b7759160
move generator into separate file 2016-12-15 10:33:27 +01:00
Rich-Harris
66b6d4c8e2 -> v1.2.3 2016-12-12 08:57:59 -05:00
Rich Harris
212a3560ee Merge pull request #183 from sveltejs/builder
CodeBuilder
2016-12-12 08:46:08 -05:00
Rich Harris
9f04d46ffe Merge pull request #187 from sveltejs/gh-178
use setAttribute() for list attributes
2016-12-12 08:31:34 -05:00
Rich Harris
6b4d8bebbf Merge pull request #190 from sveltejs/gh-188
throw if default export is not an object literal
2016-12-12 08:31:24 -05:00
Rich-Harris
a35c516350 bump coverage – duplicate default export is handled by acorn 2016-12-11 15:13:18 -05:00
Rich-Harris
4a610f7073 throw if default export is not an object literal 2016-12-11 14:57:59 -05:00
Rich-Harris
be6b950abc use setAttribute() for list attributes – fixes #178 2016-12-11 14:10:36 -05:00
Rich-Harris
1cfbfb05d0 null is not an identifier 2016-12-11 13:29:37 -05:00
Rich-Harris
c353aa2447 allow whitelisted globals (#185) 2016-12-11 13:22:56 -05:00
Rich Harris
161473a918 Merge pull request #184 from sveltejs/gh-179
error if method is an arrow function expression and uses `this` or `arguments`
2016-12-11 11:28:54 -05:00
Rich-Harris
017b67aa38 ensure onrender and onteardown are not arrow function expressions 2016-12-11 10:42:44 -05:00
Rich-Harris
a6c648b086 error if method is an arrow function expression and uses this or arguments (#179) 2016-12-11 10:34:50 -05:00
Rich-Harris
a9c4b92493 fix prepending code to builders 2016-12-11 09:43:54 -05:00
Rich-Harris
3e57814b76 use builders for local.init and local.update 2016-12-10 19:52:47 -05:00
Rich-Harris
2d35f937a9 use builder instead of local.mount 2016-12-10 15:24:48 -05:00
Rich-Harris
7c00ea47bc use builders in place of local.detach and local.teardown 2016-12-10 15:21:16 -05:00
Rich-Harris
83fe123a5c fix detach order for triples 2016-12-10 14:58:13 -05:00
Rich-Harris
5fa2cd24c4 use builders everywhere 2016-12-10 14:38:20 -05:00
Rich-Harris
08f51b23dd use builders for init statements 2016-12-10 14:07:29 -05:00
Rich-Harris
0551d2646a Merge branch 'master' into builder 2016-12-10 13:57:24 -05:00
Rich Harris
fd77efa633 Merge pull request #175 from sveltejs/gh-147
add support for declared namespaces
2016-12-10 13:40:03 -05:00
Rich Harris
8fbbdb22f2 Update ISSUE_TEMPLATE.md 2016-12-10 13:38:58 -05:00
Rich Harris
62b5a458d4 Merge pull request #173 from sveltejs/gh-151
issue and PR templates
2016-12-10 13:37:32 -05:00
Rich Harris
4ca417c182 Update README.md 2016-12-10 11:41:18 -05:00
Rich-Harris
fbe130835d add support for declared namespaces – fixes #147 2016-12-10 11:07:11 -05:00
Rich-Harris
cfdaa0835a issue and PR templates 2016-12-10 10:19:45 -05:00
Rich-Harris
7f392e562b -> v1.2.2 2016-12-09 15:50:55 -05:00
Rich Harris
abda99fd14 Merge pull request #171 from sveltejs/gh-150
make mount private
2016-12-09 15:36:14 -05:00
Rich Harris
25e12f8597 Merge pull request #169 from sveltejs/gh-167
omit attributes for SSR
2016-12-09 15:27:51 -05:00
Rich Harris
72dc86aa5e Merge pull request #170 from sveltejs/gh-162
Allow event handlers to call methods of `event` and `this`
2016-12-09 15:27:41 -05:00
Rich-Harris
05c38bc872 Merge branch 'master' of https://github.com/sveltejs/svelte 2016-12-09 14:26:31 -05:00
Rich-Harris
18baae69c1 move generate/index.js over to CodeBuilder 2016-12-09 09:54:17 -05:00
Rich-Harris
a1225d5adf add CodeBuilder utility for easier codegen 2016-12-09 09:37:50 -05:00
Rich-Harris
e62cecaff4 make mount private (#150) 2016-12-09 09:18:27 -05:00
Rich-Harris
65a99c9161 support node methods in event handlers (#162) 2016-12-09 09:10:42 -05:00
Rich-Harris
8529e28c11 allow event handlers to call event methods e.g. stopPropagation – closes #162 2016-12-09 09:00:02 -05:00
Rich-Harris
284224cb4f omit attributes for SSR – fixes #163 2016-12-09 08:43:39 -05:00
Rich-Harris
941de39523 test importing non-component 2016-12-09 08:41:08 -05:00