Comparing version 1.13.6 to 1.13.7
# Svelte changelog | ||
## 1.13.7 | ||
* Fix observers — `defer: true` now triggers callback after DOM is updated ([#441](https://github.com/sveltejs/svelte/issues/441)) | ||
* Handle empty `computed` property ([#452](https://github.com/sveltejs/svelte/issues/452)) | ||
* Correctly bind one-way `<select>` value attributes with objects ([#423](https://github.com/sveltejs/svelte/issues/423)) | ||
* Hoist event handlers inside each blocks, where possible ([#456](https://github.com/sveltejs/svelte/pull/456)) | ||
* Don't bind event handler callbacks ([#433](https://github.com/sveltejs/svelte/issues/433)) | ||
* Internal refactoring and neater code generation ([#453](https://github.com/sveltejs/svelte/pull/453)) | ||
## 1.13.6 | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "svelte", | ||
"version": "1.13.6", | ||
"version": "1.13.7", | ||
"description": "The magical disappearing UI framework", | ||
@@ -5,0 +5,0 @@ "main": "compiler/svelte.js", |
@@ -19,5 +19,5 @@ function appendNode ( node, target ) { | ||
function teardownEach ( iterations, detach, start ) { | ||
for ( var i = ( start || 0 ); i < iterations.length; i += 1 ) { | ||
iterations[i].teardown( detach ); | ||
function destroyEach ( iterations, detach, start ) { | ||
for ( var i = start; i < iterations.length; i += 1 ) { | ||
iterations[i].destroy( detach ); | ||
} | ||
@@ -80,3 +80,3 @@ } | ||
function observe ( key, callback, options ) { | ||
var group = ( options && options.defer ) ? this._observers.pre : this._observers.post; | ||
var group = ( options && options.defer ) ? this._observers.post : this._observers.pre; | ||
@@ -227,2 +227,2 @@ ( group[ key ] || ( group[ key ] = [] ) ).push( callback ); | ||
export { noop, assign, differs, dispatchObservers, appendNode, insertNode, detachNode, detachBetween, teardownEach, createElement, createSvgElement, createText, createComment, addEventListener, removeEventListener, setAttribute, setXlinkAttribute, getBindingGroupValue, get, fire, observe, observeDev, on, onDev, set, _flush, proto, protoDev }; | ||
export { noop, assign, differs, dispatchObservers, appendNode, insertNode, detachNode, detachBetween, destroyEach, createElement, createSvgElement, createText, createComment, addEventListener, removeEventListener, setAttribute, setXlinkAttribute, getBindingGroupValue, get, fire, observe, observeDev, on, onDev, set, _flush, proto, protoDev }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1360200
11842