xml-twig 1.2.83 → 1.2.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/doc/twig.md +2 -1
- package/package.json +1 -1
- package/twig.js +4 -4
- package/twig.md +0 -0
package/doc/twig.md
CHANGED
|
@@ -1517,8 +1517,9 @@ Custom filter function to specify when handler shall be called
|
|
|
1517
1517
|
|
|
1518
1518
|
**Kind**: global typedef
|
|
1519
1519
|
**Returns**: <code>boolean</code> - If the function returns `true`, then it is included in the filter
|
|
1520
|
+
**Properties**
|
|
1520
1521
|
|
|
1521
|
-
|
|
|
1522
|
+
| Name | Type | Description |
|
|
1522
1523
|
| --- | --- | --- |
|
|
1523
1524
|
| name | <code>string</code> | Name of the element |
|
|
1524
1525
|
|
package/package.json
CHANGED
package/twig.js
CHANGED
|
@@ -41,9 +41,9 @@ const Any = new AnyHandler();
|
|
|
41
41
|
* Element can be specified as string, Regular Expression, custom function, `Twig.Root` or `Twig.Any`<br>
|
|
42
42
|
* You can specify a `function` or a `event` name
|
|
43
43
|
* @typedef TwigHandler
|
|
44
|
-
* @property {HandlerCondition} tag - Element specification
|
|
44
|
+
* @property {?HandlerCondition} tag - Element specification
|
|
45
45
|
* @property {HandlerFunction} [function] - Definition of handler function, either anonymous or explicit function
|
|
46
|
-
* @property {string} [event] - Type of the event to be emitted
|
|
46
|
+
* @property {?string} [event] - Type of the event to be emitted
|
|
47
47
|
*/
|
|
48
48
|
|
|
49
49
|
/**
|
|
@@ -65,8 +65,8 @@ const Any = new AnyHandler();
|
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
67
|
* Custom filter function to specify when handler shall be called
|
|
68
|
-
* @typedef
|
|
69
|
-
* @
|
|
68
|
+
* @typedef HandlerConditionFilter
|
|
69
|
+
* @property {string} name - Name of the element
|
|
70
70
|
* @returns {boolean} If the function returns `true`, then it is included in the filter
|
|
71
71
|
*/
|
|
72
72
|
|
package/twig.md
ADDED
|
File without changes
|