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
Copy file name to clipboardExpand all lines: README.md
+23-16Lines changed: 23 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,23 +31,27 @@ To cite OPS.js in publications please see [the zenodo record](https://zenodo.org
31
31
32
32
For Bibtex use:
33
33
34
-
>@misc{ian_dunlop_2015_21008,
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 = jul,
43
-
> year = 2015,
44
-
> doi = {10.5281/zenodo.21008},
45
-
> url = {http://dx.doi.org/10.5281/zenodo.21008}
46
-
>}
34
+
```latex
35
+
@misc{ian_dunlop_2015_21008,
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.2 for Open PHACTS 1.5 API},
43
+
month = jul,
44
+
year = 2015,
45
+
doi = {10.5281/zenodo.21008},
46
+
url = {http://dx.doi.org/10.5281/zenodo.21008}
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,9 @@ 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