Comparing version 1.0.12 to 1.0.13
{ | ||
"name": "remixml", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "XML/HTML-like macro language/template engine", | ||
@@ -5,0 +5,0 @@ "browser": "remixml.js", |
@@ -56,16 +56,26 @@ <h1>Remixml</h1> | ||
- scope: References the primary level in the variables object (the second | ||
- scope:<br /> | ||
References the primary level in the variables object (the second | ||
argument to parse()). | ||
- variablename: References second and deeper levels in the variables | ||
- variablename:<br /> | ||
References second and deeper levels in the variables | ||
object (can contain multiple dots to designate deeper levels, is used | ||
to access both objects and arrays). | ||
- encoding (optional): | ||
- encoding (optional):<br /> | ||
Specifies the encoding to be used when substituting the variable. | ||
The encodings available are: | ||
- html (default, encodes using HTML entities). | ||
- uric (URI component, encodes URI arguments in an URL). | ||
- none (no encoding, as is, can be abbreviated as :;). | ||
- formatting (optional): | ||
sprintf()-like formatting specification. | ||
Supported formats: %c, %d, %e, %f, %g, %s, %x. | ||
- html<br/ > | ||
Default, encodes using | ||
[HTML entities](https://dev.w3.org/html5/html-author/charref). | ||
- uric<br/ > | ||
URI component, encodes URI arguments in an URL. | ||
- json<br/ > | ||
Encodes as a [JSON](https://www.json.org/) string. | ||
- none<br/ > | ||
No encoding, as is, can be abbreviated as ":;". | ||
- formatting (optional):<br /> | ||
[printf()-like formatting | ||
specification](https://en.wikipedia.org/wiki/Printf_format_string) | ||
.<br /> | ||
Supported formats: %c, %d, %e, %f, %g, %s, %x.<br /> | ||
If the formatting string equals a three-letter currency (all capitals), | ||
@@ -123,3 +133,3 @@ the value will be formatted like a currency (including currency symbol) | ||
- $.sys.lang | ||
- $.sys.lang<br /> | ||
If set, it overrides the default locale of the browser environment | ||
@@ -126,0 +136,0 @@ (currently only used during currency formatting). |
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
18425
145