update tests

pull/709/head
Rich Harris 8 years ago
parent 197c7e70d0
commit 9085c0a22a

@ -115,12 +115,12 @@ function on(eventName, handler) {
function set(newState) { function set(newState) {
this._set(assign({}, newState)); this._set(assign({}, newState));
if (this._root._block) return; if (this._root._lock) return;
this._root._block = true; this._root._lock = true;
callAll(this._root._beforecreate); callAll(this._root._beforecreate);
callAll(this._root._oncreate); callAll(this._root._oncreate);
callAll(this._root._aftercreate); callAll(this._root._aftercreate);
this._root._block = false; this._root._lock = false;
} }
function callAll(fns) { function callAll(fns) {

@ -91,12 +91,12 @@ function on(eventName, handler) {
function set(newState) { function set(newState) {
this._set(assign({}, newState)); this._set(assign({}, newState));
if (this._root._block) return; if (this._root._lock) return;
this._root._block = true; this._root._lock = true;
callAll(this._root._beforecreate); callAll(this._root._beforecreate);
callAll(this._root._oncreate); callAll(this._root._oncreate);
callAll(this._root._aftercreate); callAll(this._root._aftercreate);
this._root._block = false; this._root._lock = false;
} }
function callAll(fns) { function callAll(fns) {

@ -124,12 +124,12 @@ function on(eventName, handler) {
function set(newState) { function set(newState) {
this._set(assign({}, newState)); this._set(assign({}, newState));
if (this._root._block) return; if (this._root._lock) return;
this._root._block = true; this._root._lock = true;
callAll(this._root._beforecreate); callAll(this._root._beforecreate);
callAll(this._root._oncreate); callAll(this._root._oncreate);
callAll(this._root._aftercreate); callAll(this._root._aftercreate);
this._root._block = false; this._root._lock = false;
} }
function callAll(fns) { function callAll(fns) {

@ -109,12 +109,12 @@ function on(eventName, handler) {
function set(newState) { function set(newState) {
this._set(assign({}, newState)); this._set(assign({}, newState));
if (this._root._block) return; if (this._root._lock) return;
this._root._block = true; this._root._lock = true;
callAll(this._root._beforecreate); callAll(this._root._beforecreate);
callAll(this._root._oncreate); callAll(this._root._oncreate);
callAll(this._root._aftercreate); callAll(this._root._aftercreate);
this._root._block = false; this._root._lock = false;
} }
function callAll(fns) { function callAll(fns) {

@ -115,12 +115,12 @@ function on(eventName, handler) {
function set(newState) { function set(newState) {
this._set(assign({}, newState)); this._set(assign({}, newState));
if (this._root._block) return; if (this._root._lock) return;
this._root._block = true; this._root._lock = true;
callAll(this._root._beforecreate); callAll(this._root._beforecreate);
callAll(this._root._oncreate); callAll(this._root._oncreate);
callAll(this._root._aftercreate); callAll(this._root._aftercreate);
this._root._block = false; this._root._lock = false;
} }
function callAll(fns) { function callAll(fns) {

@ -115,12 +115,12 @@ function on(eventName, handler) {
function set(newState) { function set(newState) {
this._set(assign({}, newState)); this._set(assign({}, newState));
if (this._root._block) return; if (this._root._lock) return;
this._root._block = true; this._root._lock = true;
callAll(this._root._beforecreate); callAll(this._root._beforecreate);
callAll(this._root._oncreate); callAll(this._root._oncreate);
callAll(this._root._aftercreate); callAll(this._root._aftercreate);
this._root._block = false; this._root._lock = false;
} }
function callAll(fns) { function callAll(fns) {

@ -103,12 +103,12 @@ function on(eventName, handler) {
function set(newState) { function set(newState) {
this._set(assign({}, newState)); this._set(assign({}, newState));
if (this._root._block) return; if (this._root._lock) return;
this._root._block = true; this._root._lock = true;
callAll(this._root._beforecreate); callAll(this._root._beforecreate);
callAll(this._root._oncreate); callAll(this._root._oncreate);
callAll(this._root._aftercreate); callAll(this._root._aftercreate);
this._root._block = false; this._root._lock = false;
} }
function callAll(fns) { function callAll(fns) {
@ -198,11 +198,11 @@ function SvelteComponent ( options ) {
} }
if ( !options._root ) { if ( !options._root ) {
this._block = true; this._lock = true;
callAll(this._beforecreate); callAll(this._beforecreate);
callAll(this._oncreate); callAll(this._oncreate);
callAll(this._aftercreate); callAll(this._aftercreate);
this._block = false; this._lock = false;
} }
} }

@ -77,11 +77,11 @@ function SvelteComponent ( options ) {
} }
if ( !options._root ) { if ( !options._root ) {
this._block = true; this._lock = true;
callAll(this._beforecreate); callAll(this._beforecreate);
callAll(this._oncreate); callAll(this._oncreate);
callAll(this._aftercreate); callAll(this._aftercreate);
this._block = false; this._lock = false;
} }
} }

@ -91,12 +91,12 @@ function on(eventName, handler) {
function set(newState) { function set(newState) {
this._set(assign({}, newState)); this._set(assign({}, newState));
if (this._root._block) return; if (this._root._lock) return;
this._root._block = true; this._root._lock = true;
callAll(this._root._beforecreate); callAll(this._root._beforecreate);
callAll(this._root._oncreate); callAll(this._root._oncreate);
callAll(this._root._aftercreate); callAll(this._root._aftercreate);
this._root._block = false; this._root._lock = false;
} }
function callAll(fns) { function callAll(fns) {

@ -115,12 +115,12 @@ function on(eventName, handler) {
function set(newState) { function set(newState) {
this._set(assign({}, newState)); this._set(assign({}, newState));
if (this._root._block) return; if (this._root._lock) return;
this._root._block = true; this._root._lock = true;
callAll(this._root._beforecreate); callAll(this._root._beforecreate);
callAll(this._root._oncreate); callAll(this._root._oncreate);
callAll(this._root._aftercreate); callAll(this._root._aftercreate);
this._root._block = false; this._root._lock = false;
} }
function callAll(fns) { function callAll(fns) {

Loading…
Cancel
Save