You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples
Rich-Harris a47a679e38
replace all invalid characters in attribute names when creating variables (fixes #470)
8 years ago
..
attribute-dynamic separate current *fragment* from current *generator state* 8 years ago
attribute-dynamic-multiple minor test tweaks 8 years ago
attribute-dynamic-reserved move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-dynamic-shorthand move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-empty move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-empty-svg move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-namespaced replace all invalid characters in attribute names when creating variables (fixes #470) 8 years ago
attribute-partial-number move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-prefer-expression move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-static move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
attribute-static-boolean move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
autofocus move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-checkbox move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-checkbox-deep-contextual move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-checkbox-group move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-number move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-radio-group move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-range move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-text move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-text-contextual move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-text-deep move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-input-text-deep-contextual move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-select move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-select-initial-value move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-select-multiple move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
binding-textarea move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-conditional move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-conditional-b move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-deep move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-deep-b move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-each move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-each-nested move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-each-object move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-infinite-loop move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-nested move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-binding-parent-supercedes-child move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-dynamic move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-dynamic-late move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-dynamic-shorthand move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-empty move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-static move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-data-static-boolean move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-events move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-events-data move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-events-each move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-not-void move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-ref move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-yield move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-yield-if move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-yield-multiple-in-each move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-yield-multiple-in-if move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
component-yield-parent move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
computed-empty move some tests to where they belong 8 years ago
computed-function move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
computed-values move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
computed-values-default move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
computed-values-function-dependency move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
css move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
css-comments move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
css-false move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
css-space-in-attribute move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
custom-method move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
deconflict-builtins move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
deconflict-contexts move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
deconflict-non-helpers move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
deconflict-template-1 move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
deconflict-template-2 move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
default-data move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
default-data-function move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
default-data-override move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
destructuring move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
dev-warning-bad-observe-arguments move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
dev-warning-destroy-not-teardown move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
dev-warning-missing-data move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
dev-warning-missing-data-binding move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
dev-warning-readonly-computed throw if user sets read-only properties in dev mode 8 years ago
dev-warning-readonly-window-binding throw if user sets read-only properties in dev mode 8 years ago
each-block minor test tweaks 8 years ago
each-block-containing-if move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-block-else all tests passing once more. now the real work begins 8 years ago
each-block-indexed move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-block-keyed move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-block-random-permute move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-block-text-node move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-blocks-expression move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-blocks-nested move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
each-blocks-nested-b move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler hoist some event handlers, rewrite non-hoisted ones to avoid binding 8 years ago
event-handler-custom move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler-custom-context move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler-custom-each hoist some event handlers, rewrite non-hoisted ones to avoid binding 8 years ago
event-handler-custom-node-context move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler-each hoist some event handlers, rewrite non-hoisted ones to avoid binding 8 years ago
event-handler-each-deconflicted ensure hoisted event handler names are globally unique — fixes #466 8 years ago
event-handler-event-methods move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler-removal move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
event-handler-this-methods move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
events-custom move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
events-lifecycle move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
function-in-expression move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
get-state move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
globals-accessible-directly move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
globals-not-dereferenced move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
globals-shadowed-by-data move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
globals-shadowed-by-helpers move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
hello-world move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
helpers move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
if-block another horrible half-done commit 8 years ago
if-block-else move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
if-block-elseif move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
if-block-elseif-text move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
if-block-expression move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
if-block-widget move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
imported-renamed-components move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
inline-expressions move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
input-list move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
lifecycle-events move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
names-deconflicted move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
names-deconflicted-nested move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
nbsp move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
observe-component-ignores-irrelevant-changes move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
observe-deferred move some tests to where they belong 8 years ago
observe-prevents-loop move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
onrender-chain move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
onrender-fires-when-ready move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
onrender-fires-when-ready-nested move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
pass-no-options baby steps... 8 years ago
raw-mustaches move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
raw-mustaches-preserved move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
refs move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
refs-unset move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
select move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
select-no-whitespace dont create whitespace nodes inside elements like <select> (#189) 8 years ago
select-one-way-bind move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
select-one-way-bind-object correctly bind one-way select value attributes (#423) 8 years ago
self-reference another horrible half-done commit 8 years ago
self-reference-tree move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
set-in-observe move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
set-in-observe-dedupes-renders move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
set-in-onrender move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
set-prevents-loop move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
single-static-element move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
single-text-node move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-attributes move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-child-component-declared-namespace move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-child-component-declared-namespace-shorthand move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-class move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-each-block-namespace move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-multiple move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-no-whitespace move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-xlink move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
svg-xmlns move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
window-bind-scroll-update window scroll bindings are bidirectional (#404) 8 years ago
window-binding-resize move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago
window-event move test/generator to test/runtime, and have separate input -> output tests for codegen. add test for #433 8 years ago