Comparing version 1.39.4 to 1.40.0
# Svelte changelog | ||
## 1.40.0 | ||
* Short fragment method names ([#863](https://github.com/sveltejs/svelte/pull/863)) | ||
* Extract declarations out of default export ([#756](https://github.com/sveltejs/svelte/issues/756)) | ||
## 1.39.4 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "svelte", | ||
"version": "1.39.4", | ||
"version": "1.40.0", | ||
"description": "The magical disappearing UI framework", | ||
@@ -5,0 +5,0 @@ "main": "compiler/svelte.js", |
@@ -67,3 +67,3 @@ function noop() {} | ||
for (var i = 0; i < iterations.length; i += 1) { | ||
if (iterations[i]) iterations[i].destroy(); | ||
if (iterations[i]) iterations[i].d(); | ||
} | ||
@@ -383,4 +383,4 @@ } | ||
if (detach !== false) this._fragment.unmount(); | ||
this._fragment.destroy(); | ||
if (detach !== false) this._fragment.u(); | ||
this._fragment.d(); | ||
this._fragment = this._state = null; | ||
@@ -529,3 +529,3 @@ } | ||
dispatchObservers(this, this._observers.pre, changed, this._state, oldState); | ||
this._fragment.update(changed, this._state); | ||
this._fragment.p(changed, this._state); | ||
dispatchObservers(this, this._observers.post, changed, this._state, oldState); | ||
@@ -550,7 +550,7 @@ } | ||
function _mount(target, anchor) { | ||
this._fragment.mount(target, anchor); | ||
this._fragment.m(target, anchor); | ||
} | ||
function _unmount() { | ||
this._fragment.unmount(); | ||
this._fragment.u(); | ||
} | ||
@@ -557,0 +557,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2045083
17856