flint-react-tools
Advanced tools
Comparing version 0.13.8 to 0.13.9
{ | ||
"name": "flint-react-tools", | ||
"description": "A set of complementary tools to React, including the JSX transformer.", | ||
"version": "0.13.8", | ||
"version": "0.13.9", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "react", |
@@ -90,3 +90,5 @@ /** | ||
} | ||
utils.append('Flint.createElement("', state); | ||
utils.append('Flint.createElement('+ Math.random() +', "', state); | ||
// We assume that the React runtime is already in scope | ||
@@ -127,11 +129,3 @@ | ||
// write attributes | ||
attributesObject.filter(function(attr) { | ||
var isName = function(key, name) { | ||
key && key.name && key.name.name == name | ||
} | ||
var startsWith = function(key, name) { | ||
key && key.name && key.name.name.indexOf(name) === 0 | ||
} | ||
return !(isName("if") || startsWith("repeat")) | ||
}).forEach(function(attr, index) { | ||
attributesObject.forEach(function(attr, index) { | ||
var isLast = index === attributesObject.length - 1; | ||
@@ -138,0 +132,0 @@ |
1400119
40434