Comparing version 2.0.0 to 2.1.0
@@ -0,1 +1,4 @@ | ||
## 2.1.0 | ||
* Added caching of inline require. | ||
## 2.0.0 | ||
@@ -2,0 +5,0 @@ * Changed the behavior of how duplicate imports are de-duped. |
@@ -52,3 +52,3 @@ const Assert = require('assert'); | ||
if (this.isInline) { | ||
return `${this.name} = ${this.value.toString()};`; | ||
return `${this.name} = ${this.name} || ${this.value.toString()};`; | ||
} | ||
@@ -55,0 +55,0 @@ return super.toString(); |
{ | ||
"name": "code-jinni", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Generic javascript code generator that uses actual code snippets and mantains relationship ebtween artifacts to simplify DOM construction and eventual code generation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
12328
13