Skip to content

Commit 6d583f0

Browse files
authored
use neo4j.v1 in browser code snippet
1 parent e1514fd commit 6d583f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ We build a special browser version of the driver, which supports connecting to N
4848
This will make a global `neo4j` object available, where you can access the `v1` API at `neo4j.v1`:
4949

5050
```javascript
51-
var driver = neo4j.driver("bolt://localhost", neo4j.auth.basic("neo4j", "neo4j"));
51+
var driver = neo4j.v1.driver("bolt://localhost", neo4j.v1.auth.basic("neo4j", "neo4j"));
5252
```
5353

5454
It is not required to explicitly close the driver on a web page. Web browser should gracefully close all open

0 commit comments

Comments
 (0)