Comparing version 5.3.6 to 5.3.7
{ | ||
"name": "remixml", | ||
"version": "5.3.6", | ||
"version": "5.3.7", | ||
"description": "XML/HTML-like macro language/template compiler engine", | ||
@@ -5,0 +5,0 @@ "main": "remixml.min.js", |
@@ -186,8 +186,11 @@ <h1>Remixml</h1> | ||
- `scope`<br /> | ||
References the primary level in the variables object (the second | ||
argument to parse()). | ||
References the primary level in the `context` object. | ||
- `variablename`<br /> | ||
References second and deeper levels in the variables | ||
References second and deeper levels in the `context` | ||
object (can contain multiple dots to designate deeper levels, is used | ||
to access both objects and arrays). | ||
Variables from the parent scope can always be referenced; | ||
e.g. `&_.foo;` is a variable named foo in the current scope, whereas | ||
`&_._.foo;` refers to a variable named foo in the parent scope. | ||
By prepending `._` to the path every time, you go one level deeper. | ||
- `encoding` (optional)<br /> | ||
@@ -296,3 +299,3 @@ Specifies the encoding to be used when substituting the variable. | ||
Delete the named tag from the current scope, restores the | ||
definition of this tag from the parentscope (if any). | ||
definition of this tag from the parent scope (if any). | ||
- `<if expr="">...</if>`<br /> | ||
@@ -476,3 +479,3 @@ Attributes: | ||
- `context`<br /> | ||
Optional argument which specifies an object which can be referenced | ||
Argument which specifies an object which can be referenced | ||
from within Remixml code. The toplevel entries are the toplevel scopes | ||
@@ -483,3 +486,3 @@ in Remixml. Within Remixml Javascript, this object will always be | ||
shortcut. I.e. in Javascript `$._.foo` and `_.foo` will both refer | ||
to the same variable. | ||
to the same variable, in Remixml both are referred to as `&_.foo;`. | ||
- `flags` is an optional bitmask with: | ||
@@ -486,0 +489,0 @@ - 1: Kill all whitespace (different than the `-` parameter to strip whitespace |
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
573491
550