Commit Graph

110 Commits (b42ef4952e84a09f8208b511da206dba83aaf350)

Author SHA1 Message Date
Rich-Harris 162281ef4f populate state in preprocess step, including naming DOM nodes
9 years ago
Rich-Harris 9f2bd988a0 collapse text around comments
9 years ago
Rich-Harris 950f2ce2fd dont update static subtrees, even with a noop
9 years ago
Rich-Harris 92b49eed4e more tidying up
9 years ago
Rich-Harris 3cfb823076 tidy up
9 years ago
Rich-Harris ab19649dfa preprocess template, so that we can discover dependencies ahead of time
9 years ago
Rich-Harris 51ff9ecfa6 allow helpers to depend on one another (closes #481)
9 years ago
Conduitry c6304b19f7 only warn on missing properties in dev mode, do not warn on whitelisted globals
9 years ago
Rich Harris 5f2c6e3c19 merge master -> readonly-dev-warning
9 years ago
Rich Harris 8b38b2b802 throw if user sets read-only properties in dev mode
9 years ago
Rich Harris b096385df1 lint
9 years ago
Rich Harris 2852b96e65 collapse consecutive if-statements with the same condition (#450)
9 years ago
Rich Harris 1e2c8593f2 hoist some event handlers, rewrite non-hoisted ones to avoid binding
9 years ago
Rich-Harris 731f09d173 Merge branch 'master' into refactor
9 years ago
Rich-Harris 552820cd7f rename Fragment to Block
9 years ago
Rich-Harris bd85ffbf28 move render logic into fragment
9 years ago
Rich-Harris cca91f88bb remove getBuilders
9 years ago
Rich-Harris 078f36be6a get rid of fragment.type
9 years ago
Rich-Harris c87967be69 rename state.target to more self-explanatory state.parentNode
9 years ago
Rich-Harris 4b3bdcf946 use isTopLevel instead of elementDepth
9 years ago
Rich-Harris a9fb93eb32 remove redundant localElementDepth
9 years ago
Rich-Harris 421f3d698f separate current *fragment* from current *generator state*
9 years ago
Rich-Harris abf774bc57 remove generator.push and generator.pop
9 years ago
Rich Harris c0442b5eb1 another horrible half-done commit
9 years ago
Rich Harris d0752cd6b1 another half-done commit
9 years ago
Rich Harris 063e76f322 baby steps...
9 years ago
Rich Harris 3006a245af more consistent naming
9 years ago
Taylor Zane Glaeser 3ed4dc68ee Fixes #452. Fixed an issue that caused setting `computed` to an empty object to prevent the component from compiling.
9 years ago
Rich-Harris 2d4f9eac00 make visitors responsible for visiting their own children
9 years ago
Rich Harris 3fcbf428bd while we're at it, remove unused stuff from generated SSR code
9 years ago
Rich Harris d2db41f811 remove unnecessary template declarations - fixes #440
9 years ago
Rich Harris 4b5754b9a7 centralise logic for manipulating source javascript
9 years ago
Rich-Harris caec96f9da make abstract removeNode function
9 years ago
Rich-Harris 90b9dc84ad fix broken proto helper
9 years ago
Rich-Harris 92f19a0a74 better prototype assignment
9 years ago
Rich Harris 9da4e80aa7 Merge pull request #443 from sveltejs/gh-431
9 years ago
Rich-Harris be33a29a56 mostly fix insane node 4 issue
9 years ago
Rich-Harris e592c052aa use assign helper, to avoid compatibility headaches
9 years ago
Conduitry e32e69f3e8 deconflict `tmp` within its fragment
9 years ago
Conduitry d2a701c4f5 use snake case in generated identifiers (#419)
9 years ago
Rich Harris 731f840a34 Merge pull request #416 from sveltejs/gh-413
9 years ago
Rich-Harris 1308907f67 include css in compiler output (#409)
9 years ago
Rich-Harris 44287f846a recompute computed values with functions as dependencies (#413)
9 years ago
Conduitry 6d1623cf0e new aliaser mechanism replacing existing mechanism and counters; a bunch more deconflicting
9 years ago
Rich-Harris 8df1356ef8 fix bad merge
9 years ago
Rich Harris 3ead9bfc3f Merge branch 'master' into gh-371
9 years ago
Conduitry 7d03b74576 use maps and sets in many places instead of plain objects
9 years ago
Rich Harris 8558b45337 Merge branch 'master' into gh-371
9 years ago
Rich-Harris 979ac2b87d Merge branch 'master' into gh-371
9 years ago
Conduitry c877b3c615 deconflict `template` variable (#392)
9 years ago