Comparing version 1.6.5 to 1.6.6
# Svelte changelog | ||
## 1.6.6 | ||
* Omit text from comment anchors ([#247](https://github.com/sveltejs/svelte/issues/247)) | ||
* Handle `xlink` attributes ([#264](https://github.com/sveltejs/svelte/issues/264)) | ||
## 1.6.5 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "svelte", | ||
"version": "1.6.5", | ||
"version": "1.6.6", | ||
"description": "The magical disappearing UI framework", | ||
@@ -5,0 +5,0 @@ "main": "compiler/svelte.js", |
@@ -37,4 +37,4 @@ function appendNode ( node, target ) { | ||
function createComment ( data ) { | ||
return document.createComment( data ); | ||
function createComment () { | ||
return document.createComment( '' ); | ||
} | ||
@@ -54,2 +54,6 @@ | ||
function setXlinkAttribute ( node, attribute, value ) { | ||
node.setAttributeNS( 'http://www.w3.org/1999/xlink', attribute, value ); | ||
} | ||
function get ( key ) { | ||
@@ -124,2 +128,2 @@ return key ? this._state[ key ] : this._state; | ||
export { noop, dispatchObservers, appendNode, insertNode, detachNode, detachBetween, teardownEach, 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, setXlinkAttribute, 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
802722
6626