--- a/server/php/basic/public_html/static/lib/screenfull/screenfull-umd.js Wed Jan 11 15:11:52 2017 +0100
+++ b/server/php/basic/public_html/static/lib/screenfull/screenfull-umd.js Thu Jan 12 14:09:02 2017 +0100
@@ -4,7 +4,7 @@
define('screenfull', [], function () {
return (root['screenfull'] = factory());
});
- } else if (typeof exports === 'object') {
+ } else if (typeof module === 'object' && module.exports) {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.