babel-plugin-hydroxide
Advanced tools
Comparing version 1.0.5 to 1.1.0
@@ -1,2 +0,2 @@ | ||
// babel-plugin-hydroxide v1.0.4 | ||
// babel-plugin-hydroxide v1.1.0 | ||
'use strict'; | ||
@@ -414,3 +414,3 @@ | ||
if (dataItem.name.startsWith('prop-')) { | ||
return template__default["default"]('NEWVALUE !== PREV && (NODE.NAME = PREV = NEWVALUE)')({ | ||
return template__default["default"]('NEWVALUE !== PREV && (NODE[NAME] = PREV = NEWVALUE)')({ | ||
NEWVALUE: newValueIds[i], | ||
@@ -803,3 +803,3 @@ PREV: prevValueIds[i], | ||
if (attributes.length === 1) { | ||
if (attributes[0].name.startsWith('prop:')) { | ||
if (attributes[0].name.startsWith('prop-')) { | ||
elementJSXInfo.hydrations.push({ | ||
@@ -806,0 +806,0 @@ type: 'SingleProp', |
{ | ||
"name": "babel-plugin-hydroxide", | ||
"description": "Compiler for Hydroxide Framework", | ||
"version": "1.0.5", | ||
"version": "1.1.0", | ||
"author": "Manan Tank", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
51153