Skip to content

Commit

Permalink
Update examples in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayP13 committed Feb 16, 2019
1 parent d6e4061 commit 56b3a1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ The `runAsync` function returns a Promise that resolves to `0` when successful o
### Running JavaScript in Python
You can run JavaScript in Python like so:
```javascript
Coldbrew.run("Coldbrew.run('var x = 5;')");
Coldbrew.run("Coldbrew.run('x = 5;')");
console.log(x); // Prints 5
```

Expand Down Expand Up @@ -367,7 +367,7 @@ This makes it as if `load()` was never called.
You can create a new instance of the Coldbrew object with `Coldbrew.createNewInstance`:
```javascript
var Coldbrew2 = Coldbrew.createNewInstance();
Coldbrew2.load(options).then(function() {
Coldbrew2.load().then(function() {
console.log("Finished loading another Coldbrew!");
});
```
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = ('0', '0', '48')
__version_info__ = ('0', '0', '49')
__version__ = '.'.join(__version_info__)

0 comments on commit 56b3a1c

Please sign in to comment.