testilo 12.0.0 → 12.0.1
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/README.md +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -338,10 +338,15 @@ A module can invoke `script` in this way:
|
|
|
338
338
|
|
|
339
339
|
```javaScript
|
|
340
340
|
const {script} = require('testilo/script');
|
|
341
|
-
const scriptObj = script(issueClasses,
|
|
341
|
+
const scriptObj = script(scriptID, issueClasses, issueID0, issueID1, …);
|
|
342
342
|
```
|
|
343
343
|
|
|
344
|
-
This invocation references `
|
|
344
|
+
This invocation references `scriptID`, `issueClasses`, and `issueID` variables.
|
|
345
|
+
- The `scriptID` variable is an alphanumeric string.
|
|
346
|
+
- The `issueClasses` variable is an object that classifies issues, such as the `issueClasses` object in a `tic` file.
|
|
347
|
+
- The `issueID` variables are strings, such as `'regionNoText'`, that name of properties of the `issueClasses` object.
|
|
348
|
+
|
|
349
|
+
The `script()` function of the `script` module generates a script and returns it as an object. The invoking module can further dispose of the script as needed.
|
|
345
350
|
|
|
346
351
|
##### By a user
|
|
347
352
|
|