From 15c40f1614b902240ea3a0e08db93bbb64e327ad Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Tue, 29 Nov 2016 23:21:56 -0500 Subject: [PATCH 1/2] use style.cssText rather than style (#44) --- compiler/generate/visitors/attributes/lookup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/generate/visitors/attributes/lookup.js b/compiler/generate/visitors/attributes/lookup.js index f31496d9e1..e36c5c45fb 100644 --- a/compiler/generate/visitors/attributes/lookup.js +++ b/compiler/generate/visitors/attributes/lookup.js @@ -103,7 +103,7 @@ const lookup = { srcset: { appliesTo: [ 'img' ] }, start: { appliesTo: [ 'ol' ] }, step: { appliesTo: [ 'input' ] }, - style: {}, + style: { propertyName: 'style.cssText' }, summary: { appliesTo: [ 'table' ] }, tabindex: { propertyName: 'tabIndex' }, target: { appliesTo: [ 'a', 'area', 'base', 'form' ] }, From 41786a7ba8c3e7b2e4283b4df2f4c987ea3abfa5 Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Tue, 29 Nov 2016 23:23:07 -0500 Subject: [PATCH 2/2] -> v1.0.2 --- CHANGELOG.md | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 532d626706..da07b6e031 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Svelte changelog +## 1.0.2 + +Set `style.cssText` rather than `style` ([#44](https://github.com/sveltejs/svelte/issues/44)) + ## 1.0.1 * Preserve SVG namespace inside each blocks diff --git a/package.json b/package.json index 243d51c011..94dbe266e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte", - "version": "1.0.1", + "version": "1.0.2", "description": "The magical disappearing UI framework", "main": "dist/svelte.js", "files": [