You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -27,27 +27,31 @@ We love receiving patches for bug fixes and new features. Please follow these si
27
27
## Citations
28
28
To cite OPS.js in publications please see [the zenodo record](https://zenodo.org/record/27866#.VcyPCPlVhBc"OPS.js zenodo record").
29
29
30
-
>Ian Dunlop et al.. (2015). ops.js: OPS.js 6.1.2 for Open PHACTS 1.5 API. Zenodo. 10.5281/zenodo.27866
30
+
>Ian Dunlop et al.. (2015). ops.js: OPS.js 6.1.3 for Open PHACTS 1.5 API. Zenodo. 10.5281/zenodo.27866
31
31
32
32
For Bibtex use:
33
33
34
-
>@misc{ian_dunlop_2015_27866,
35
-
> author = {Ian Dunlop and
36
-
> Egon Willighagen and
37
-
> Elblood and
38
-
> andrawaag and
39
-
> Stian Soiland-Reyes and
40
-
> PANDORINO},
41
-
> title = {ops.js: OPS.js 6.1.2 for Open PHACTS 1.5 API},
42
-
> month = aug,
43
-
> year = 2015,
44
-
> doi = {10.5281/zenodo.27866},
45
-
> url = {http://dx.doi.org/10.5281/zenodo.27866}
46
-
>}
34
+
```latex
35
+
@misc{ian_dunlop_2015_27866,
36
+
author = {Ian Dunlop and
37
+
Egon Willighagen and
38
+
Elblood and
39
+
andrawaag and
40
+
Stian Soiland-Reyes and
41
+
PANDORINO},
42
+
title = {ops.js: OPS.js 6.1.3 for Open PHACTS 1.5 API},
43
+
month = aug,
44
+
year = 2015,
45
+
doi = {10.5281/zenodo.27866},
46
+
url = {http://dx.doi.org/10.5281/zenodo.27866}
47
+
}
48
+
```
47
49
48
50
You can get version information by using an OPS.js method in a browser or Node:
49
51
50
-
`new Version().information()`
52
+
```javascript
53
+
newVersion().information()
54
+
```
51
55
52
56
## Using the library
53
57
If running in a browser based application use `src/combined.js`. With NodeJS use `npm install ops.js`.
@@ -60,7 +64,23 @@ Look at https://dev.openphacts.org for more information about the source methods
60
64
61
65
[Jasmine](http://pivotal.github.io/jasmine/"Jasmine javascript testing framework") is used to test the ops.js api. The specs for the tests are in the 'test/spec' directory. To run them use jasmine-node like this:
0 commit comments