Skip to content

Commit 6960925

Browse files
committed
docs: make JS method InitSettings more obvious
1 parent 947bc50 commit 6960925

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

programming/features/use-runtimesettings-or-templates.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Basic steps:
139139

140140
1. Build a JSON template and configure the required parameters
141141
2. Save the template to a file or convert it to string
142-
3. Call method `InitSettingsFromFile` or `InitSettings` to apply the settings
142+
3. Call method `InitSettingsFromFile` (or `InitSettings` if you are using the JavaScript edition) to apply the settings
143143

144144
> Read [Parameter Template Structure]({{ site.parameters }}structure-and-interfaces-of-parameters.html) to learn more about the structure of templates.
145145
@@ -173,7 +173,7 @@ The following steps demonstrates how to specify barcode formats via `JSON Templa
173173

174174
* Save the above template to file `setting.json` or Convert the above content into a string format for the respective programming language.
175175

176-
* Call method `InitSettingsFromFile` or `InitSettings` to apply the settings
176+
* Call method `InitSettingsFromFile` (or `InitSettings` if you are using the JavaScript edition) to apply the settings
177177

178178
<div class="sample-code-prefix template2"></div>
179179
>- JavaScript
@@ -187,7 +187,6 @@ The following steps demonstrates how to specify barcode formats via `JSON Templa
187187
>
188188
```javascript
189189
// `router` is an instance of `CaptureVisionRouter`.
190-
// In the JS edition, the method name we use for initialization is different.
191190
router.initSettings("PATH-TO-YOUR-SETTING")
192191
```
193192
>

0 commit comments

Comments
 (0)