Comparing version 0.2.1 to 0.2.2
{ | ||
"name": "odesza", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Write clean, expressive templates with just HTML and inline JavaScript", | ||
@@ -15,2 +15,3 @@ "main": "index.js", | ||
}, | ||
"preferGlobal": true, | ||
"bin": { | ||
@@ -17,0 +18,0 @@ "odesza": "./cli.js" |
@@ -37,3 +37,3 @@ # Odesza | ||
## Inline JavaScript | ||
Odesza makes it easy to write inline JavaScript in your templates. Under the hood, templates are evaluated as ES6 template strings, which means you have access to `${}` expressions. If you need more flexibility with inline js, you can create a self-executing function expression with code inside it like this: `${(() => { ... }())`. | ||
Odesza makes it easy to write inline JavaScript in your templates. Under the hood, templates are evaluated as ES6 template strings, which means you have access to `${}` expressions. If you need more flexibility with inline js, you can create a self-executing function expression with code inside it like this: `${(() => { ... })()}`. | ||
@@ -40,0 +40,0 @@ code |
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
15684
26