Skip to content

Commit bd06ed8

Browse files
author
Thomas Grainger
committed
make require('@flowjs/ng-flow/index') backwards compat
1 parent 8308d05 commit bd06ed8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

+4
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ try {
44
} catch (e) {
55
// do nothing
66
}
7+
8+
if (typeof window === 'object') {
9+
window.Flow = require('@flowjs/flow.js');
10+
}
711
module.exports = require('./src/ng-flow');

0 commit comments

Comments
 (0)