Skip to content

Commit aadc5a7

Browse files
committed
Release v2.13.1
1 parent 348527d commit aadc5a7

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

dist/flow.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
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
/**
@@ -1609,7 +1613,7 @@
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
@@ -1632,4 +1636,4 @@
16321636
define( "flow", [], function () { return Flow; } );
16331637
}
16341638
}
1635-
})(window, document);
1639+
})(typeof window !== 'undefined' && window, typeof document !== 'undefined' && document);

0 commit comments

Comments
 (0)