Skip to content

Commit 68b9eeb

Browse files
committed
feat: version variable made as static
1 parent 31e0a57 commit 68b9eeb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/flow.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@
2929
* @constructor
3030
*/
3131
function Flow(opts) {
32-
/**
33-
* Library version
34-
* @type {string}
35-
*/
36-
this.version = '2.0.0-beta3';
37-
3832
/**
3933
* Supported by browser?
4034
* @type {boolean}
@@ -1409,6 +1403,12 @@
14091403
*/
14101404
Flow.FlowChunk = FlowChunk;
14111405

1406+
/**
1407+
* Library version
1408+
* @type {string}
1409+
*/
1410+
Flow.version = '2.0.0-beta4';
1411+
14121412
if (typeof module !== 'undefined') {
14131413
module.exports = Flow;
14141414
} else if (typeof define === "function" && define.amd) {

0 commit comments

Comments
 (0)