Skip to content

Commit

Permalink
not sure where that extra blank line came from
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Aug 25, 2018
1 parent 645f9e3 commit a18cec0
Show file tree
Hide file tree
Showing 60 changed files with 4 additions and 61 deletions.
1 change: 0 additions & 1 deletion src/shared/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ export function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/cli/samples/amd/expected/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ define("test", function() { "use strict";
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/cli/samples/basic/expected/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/cli/samples/custom-element/expected/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/cli/samples/dev/expected/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/cli/samples/dir-sourcemap/expected/Main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/cli/samples/dir-sourcemap/expected/Main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion test/cli/samples/dir-sourcemap/expected/Widget.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/cli/samples/dir-sourcemap/expected/Widget.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion test/cli/samples/dir-subdir/expected/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/cli/samples/dir-subdir/expected/widget/Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/cli/samples/dir/expected/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/cli/samples/dir/expected/Widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/cli/samples/globals/expected/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ var Main = (function(answer) { "use strict";
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
3 changes: 1 addition & 2 deletions test/cli/samples/sourcemap-inline/expected/Main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion test/cli/samples/sourcemap/expected/Main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/cli/samples/sourcemap/expected/Main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion test/cli/samples/store/expected/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/action/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/bind-width-height/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/component-static-array/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/component-static/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/computed-collapsed-if/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/css-media-query/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/debug-empty/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/debug-foo/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/deconflict-builtins/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/deconflict-globals/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/do-use-dataset/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/dont-use-dataset-in-svg/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/each-block-keyed/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/event-handlers-custom/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/head-no-whitespace/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/if-block-no-update/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/if-block-simple/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/inline-style-optimized/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/input-files/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
1 change: 0 additions & 1 deletion test/js/samples/input-range/expected-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ function _set(newState) {
if (!dirty) return;

this._state = assign(assign({}, oldState), newState);

this._recompute(changed, this._state);
if (this._bind) this._bind(changed, this._state);

Expand Down
Loading

0 comments on commit a18cec0

Please sign in to comment.