Skip to content

Commit

Permalink
- update documentation pages
Browse files Browse the repository at this point in the history
  • Loading branch information
madoar committed Aug 10, 2019
1 parent 4532809 commit 0b1f90b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_docs/Develop/script-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ If the QuickScript is not sufficient for you, you can still write a custom scrip
The frame for a custom script looks like this:

```javascript
include("engines.wine.engines.wine");
const Wine = include("engines.wine.engine.object");
const WineShortcut = include("engines.wine.shortcuts.wine");
var application = "application name"
Expand Down
4 changes: 2 additions & 2 deletions docs/_docs/Develop/verbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Probably, the verb you want to add has already been implemented somewhere else.
Create a new folder in `Engines/Wine/Verbs` and add a `script.js`. The `script.js` must follow this template:

```javascript
include(["engines", "wine", "engine", "object"]);
const Wine = include("engines.wine.engine.object");

/**
* Verb to install verb
Expand All @@ -30,7 +30,7 @@ Wine.prototype.verb = function() {
/**
* Verb to install verb
*/
class VerbVerb {
module.default = class VerbVerb {
constructor() {
// do some optional initialisation work
}
Expand Down

0 comments on commit 0b1f90b

Please sign in to comment.