Commit Graph

199 Commits (cf01e0a91ed3e6381f38de4e7f790696dbb65dcb)

Author SHA1 Message Date
Rich Harris d0c0155f14 alternative approach to #331
8 years ago
Taylor Zane Glaeser 085f5fc81d Changed `create` API method to use `new Function()` instead of anindirect eval.
8 years ago
Rich-Harris 92925ede0d fix two-way binding for components inside each-blocks - closes #356
8 years ago
Rich-Harris df70e7b059 remove a console.log that slipped in somehow
8 years ago
Rich-Harris 28f50031e4 Merge branch 'master' into gh-109
8 years ago
Rich-Harris 78c9fa445c differentiate between nbsp and other whitespace (#348)
8 years ago
Tim Hall 0631eaec3e Remove ES2015 let from css block
8 years ago
Conduitry 30a177c12f allow using whitelisted globals themselves in tags
8 years ago
Conduitry b61f81e131 only process special tags (script, style) when they are top-level
8 years ago
Conduitry 1d891de648 accept DOCTYPE element in any case
8 years ago
Taylor Zane Glaeser f5fefeb652 Resolved an issue with raw Svelte JS in a script block breaking an HTML document.
8 years ago
Conduitry b5e9a2f99e typecheck argument in _set when in dev mode
8 years ago
Conduitry 57caf86c46 deconflict helpers when not using shared helpers
8 years ago
Taylor Zane Glaeser a81362638f Implemented a `create` method that outputs a Svelte component constructor. Added a format called `eval` that returns a string that when called by `eval` will return a Svelte component constructor. Wrote tests for the `create` method, and the `eval` format. All these tests pass.
8 years ago
Rich-Harris 55f3ed42d9 transpile/remove stuff that wont work in Node 4
8 years ago
Rich-Harris 43a5c6edd5 minor unrelated codegen fix
8 years ago
Rich-Harris 71cfb93384 simplify JS parsing step
8 years ago
Rich Harris a362b436b2 Merge pull request #352 from sveltejs/gh-348
8 years ago
Rich Harris 93b0b0e460 Merge pull request #351 from timhall/remove-let
8 years ago
Rich Harris e63a1124b4 Merge pull request #350 from sveltejs/gh-333-use-whitelisted-globals-directly
8 years ago
Rich-Harris ce6178d281 differentiate between nbsp and other whitespace (#348)
8 years ago
Tim Hall 9b2e78aea4 Remove ES2015 let from css block
8 years ago
Conduitry 5984d98618 allow using whitelisted globals themselves in tags
8 years ago
Rich Harris 8852e48d55 Merge pull request #349 from taylorzane/fix-raw-js-in-html
8 years ago
Conduitry ff815d2289 only process special tags (script, style) when they are top-level
8 years ago
Conduitry 52b3a43e7b accept DOCTYPE element in any case
8 years ago
Rich Harris cf4842778b Merge pull request #339 from sveltejs/gh-337-deconflict-helpers-with-shared-false
8 years ago
Taylor Zane Glaeser e91e12906a Resolved an issue with raw Svelte JS in a script block breaking an HTML document.
8 years ago
Conduitry b2cc48bc07 typecheck argument in _set when in dev mode
8 years ago
Conduitry 4cbf4e07b6 deconflict helpers when not using shared helpers
8 years ago
Rich-Harris 60c9c7c281 <:Self> inside each-block
8 years ago
Rich-Harris 0f60242bb9 self-references (#51)
8 years ago
Cristian Necula 2bc8a7ebef generators/dom: add styles to the root component's document
8 years ago
Rich-Harris 806cefe556 two-way binding with <select multiple> (#313)
8 years ago
Rich-Harris 69ee3e6139 allow [arrow] function expressions inside tags (#269)
8 years ago
Rich-Harris e480103de0 better errors for malformed event handlers (#220)
8 years ago
Rich Harris ee5e8e8afa merge master -> gh-177
8 years ago
Rich Harris d076f21000 Merge pull request #322 from sveltejs/gh-249
8 years ago
Rich Harris d172b2a2c1 throw in dev mode if options.target is absent (#177)
8 years ago
Rich Harris 2efd532563 better error for unmatched closing tag (#321)
8 years ago
Rich Harris 0e1d4c4bc7 throw error in dev mode for missing bound properties (#249)
8 years ago
Rich Harris a8d19839cd Merge pull request #320 from sveltejs/gh-13
8 years ago
Rich Harris d61b1927b2 add development warnings for missing data properties with dev: true (#13)
8 years ago
Rich Harris 0d41a7813b Merge branch 'master' into gh-40
8 years ago
Rich Harris f85e343a9f more informative error message when elements/blocks are left open (#258)
8 years ago
Rich Harris 357af90bb5 Merge branch 'master' into gh-40
8 years ago
Rich Harris 0f2f309ff6 handle implicitly closed elements
8 years ago
Rich Harris 1736498bde add component.destroy() as alias of component.teardown(), to align with ondestroy
8 years ago
Rich Harris 543ee2f870 update tests
8 years ago
Rich Harris 16e3574bfb warn on onrender/onteardown, replace with oncreate/ondestroy (#40)
8 years ago