Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "literaljs", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Lightweight components using template literals with a virtual dom and diff system.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,3 +10,4 @@ # LiteralJS | ||
```Literal.Component( | ||
``` | ||
Literal.Component( | ||
`<p class="corn"> | ||
@@ -25,17 +26,13 @@ <div> | ||
var firstComponent = Literal.Component( | ||
` | ||
<div> | ||
`<div> | ||
This should render like React. | ||
<p>Isn't this lovely?</p> | ||
${otherComponent} | ||
</div> | ||
` | ||
</div>` | ||
); | ||
var secondComponent = Literal.Component( | ||
` | ||
<div> | ||
`<div> | ||
Oh yeah! | ||
</div> | ||
` | ||
</div>` | ||
); | ||
@@ -42,0 +39,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2163
46