Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit fd596cd

Browse files
authored
Merge pull request #1446 from ajoslin103/ajoslin103-patch-2
docs(core-concepts/plugins): correct javascript code sample
2 parents 945cf71 + 355b02e commit fd596cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core-concepts/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ npm i tns-platform-declarations --save-dev
6060
Once the plugin you need is installed, you can start using it in your project. Note that each plugin might have its configuration that needs to be satisfied so always check carefully the plugin's documentation and the README file. The below code snippet demonstrated the basic usage of **nativescript-camera** plugin.
6161

6262
```JavaScript
63-
const cameraModule = require("nativescript-camera"); // Requiring the plugin module
63+
const camera = require("nativescript-camera"); // Requiring the plugin module
6464
camera.requestPermissions();
6565

6666
// Or import only a specific class/method/property of the plugin

0 commit comments

Comments
 (0)