Comparing version 1.6.3 to 1.6.4
# Svelte changelog | ||
## 1.6.4 | ||
* Fix updates of yields inside each blocks ([20e1b05](https://github.com/sveltejs/svelte/commit/20e1b05c45dc9fcddfe2e7c5c9fc3109f0d45fa9)) | ||
* SSR: Handle attributes with values that begin with a number ([#248](https://github.com/sveltejs/svelte/issues/248)) | ||
* Handle multiline comments in CSS ([#252](https://github.com/sveltejs/svelte/issues/252)) | ||
## 1.6.3 | ||
@@ -4,0 +10,0 @@ |
{ | ||
"name": "svelte", | ||
"version": "1.6.3", | ||
"version": "1.6.4", | ||
"description": "The magical disappearing UI framework", | ||
@@ -5,0 +5,0 @@ "main": "compiler/svelte.js", |
@@ -13,2 +13,14 @@ function appendNode ( node, target ) { | ||
function detachBetween ( before, after ) { | ||
while ( before.nextSibling && before.nextSibling !== after ) { | ||
before.parentNode.removeChild( before.nextSibling ); | ||
} | ||
} | ||
function teardownEach ( iterations, detach, start ) { | ||
for ( var i = ( start || 0 ); i < iterations.length; i += 1 ) { | ||
iterations[i].teardown( detach ); | ||
} | ||
} | ||
function createElement ( name ) { | ||
@@ -111,2 +123,2 @@ return document.createElement( name ); | ||
export { noop, dispatchObservers, appendNode, insertNode, detachNode, createElement, createSvgElement, createText, createComment, addEventListener, removeEventListener, setAttribute, get, fire, observe, on }; | ||
export { noop, dispatchObservers, appendNode, insertNode, detachNode, detachBetween, teardownEach, createElement, createSvgElement, createText, createComment, addEventListener, removeEventListener, setAttribute, get, fire, observe, on }; |
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
802284
6613