File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 2
2
* @license MIT
3
3
*/
4
4
( function ( window , document , undefined ) { 'use strict' ;
5
+ if ( ! window || ! document ) {
6
+ console . warn ( 'Flowjs needs window and document objects to work' ) ;
7
+ return ;
8
+ }
5
9
// ie10+
6
10
var ie10plus = window . navigator . msPointerEnabled ;
7
11
/**
1609
1613
* Library version
1610
1614
* @type {string }
1611
1615
*/
1612
- Flow . version = '2.13.0 ' ;
1616
+ Flow . version = '2.13.1 ' ;
1613
1617
1614
1618
if ( typeof module === "object" && module && typeof module . exports === "object" ) {
1615
1619
// Expose Flow as module.exports in loaders that implement the Node
1632
1636
define ( "flow" , [ ] , function ( ) { return Flow ; } ) ;
1633
1637
}
1634
1638
}
1635
- } ) ( window , document ) ;
1639
+ } ) ( typeof window !== 'undefined' && window , typeof document !== 'undefined' && document ) ;
You can’t perform that action at this time.
0 commit comments