Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Sep 16, 2017
1 parent 049fe59 commit fbbaff5
Show file tree
Hide file tree
Showing 41 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion src/generators/dom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default function dom(
`${name}.prototype` +
(templateProperties.methods ? `, @template.methods` : '');
const proto = sharedPath
? `@proto `
? `@proto`
: deindent`
{
${['destroy', 'get', 'fire', 'observe', 'on', 'set', 'teardown', '_set', '_mount', '_unmount']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/collapses-text-around-comments/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/computed-collapsed-if/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

SvelteComponent.prototype._recompute = function _recompute(changed, state, oldState, isInitial) {
if ( isInitial || changed.x ) {
Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/computed-collapsed-if/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

SvelteComponent.prototype._recompute = function _recompute(changed, state, oldState, isInitial) {
if ( isInitial || changed.x ) {
Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/css-media-query/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/css-media-query/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class SvelteComponent extends HTMLElement {
}

customElements.define("custom-element", SvelteComponent);
assign(SvelteComponent.prototype, proto , {
assign(SvelteComponent.prototype, proto, {
_mount(target, anchor) {
target.insertBefore(this, anchor);
},
Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/css-shadow-dom-keyframes/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class SvelteComponent extends HTMLElement {
}

customElements.define("custom-element", SvelteComponent);
assign(SvelteComponent.prototype, proto , {
assign(SvelteComponent.prototype, proto, {
_mount(target, anchor) {
target.insertBefore(this, anchor);
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/each-block-changed-check/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/event-handlers-custom/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, template.methods, proto );
assign(SvelteComponent.prototype, template.methods, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/event-handlers-custom/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, template.methods, proto );
assign(SvelteComponent.prototype, template.methods, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/if-block-no-update/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/if-block-no-update/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/if-block-simple/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/if-block-simple/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/inline-style-optimized-url/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/inline-style-optimized/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/inline-style-optimized/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/inline-style-unoptimized/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/input-without-blowback-guard/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/legacy-input-type/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/legacy-input-type/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/legacy-quote-class/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/legacy-quote-class/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/media-bindings/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/media-bindings/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/non-imported-component/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/non-imported-component/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/onrender-onteardown-rewritten/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/setup-method/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, template.methods, proto );
assign(SvelteComponent.prototype, template.methods, proto);

template.setup(SvelteComponent);

Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/setup-method/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, template.methods, proto );
assign(SvelteComponent.prototype, template.methods, proto);

template.setup(SvelteComponent);

Expand Down
2 changes: 1 addition & 1 deletion test/js/samples/use-elements-as-anchors/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;
2 changes: 1 addition & 1 deletion test/js/samples/use-elements-as-anchors/expected.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,6 @@ function SvelteComponent(options) {
}
}

assign(SvelteComponent.prototype, proto );
assign(SvelteComponent.prototype, proto);

export default SvelteComponent;

0 comments on commit fbbaff5

Please sign in to comment.