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 22 * @license MIT
33 */
44( function ( window , document , undefined ) { 'use strict' ;
5+ if ( ! window || ! document ) {
6+ console . warn ( 'Flowjs needs window and document objects to work' ) ;
7+ return ;
8+ }
59 // ie10+
610 var ie10plus = window . navigator . msPointerEnabled ;
711 /**
16091613 * Library version
16101614 * @type {string }
16111615 */
1612- Flow . version = '2.13.0 ' ;
1616+ Flow . version = '2.13.1 ' ;
16131617
16141618 if ( typeof module === "object" && module && typeof module . exports === "object" ) {
16151619 // Expose Flow as module.exports in loaders that implement the Node
16321636 define ( "flow" , [ ] , function ( ) { return Flow ; } ) ;
16331637 }
16341638 }
1635- } ) ( window , document ) ;
1639+ } ) ( typeof window !== 'undefined' && window , typeof document !== 'undefined' && document ) ;
You can’t perform that action at this time.
0 commit comments