equal
deleted
inserted
replaced
2 if (typeof define === 'function' && define.amd) { |
2 if (typeof define === 'function' && define.amd) { |
3 // AMD. Register as an anonymous module unless amdModuleId is set |
3 // AMD. Register as an anonymous module unless amdModuleId is set |
4 define('screenfull', [], function () { |
4 define('screenfull', [], function () { |
5 return (root['screenfull'] = factory()); |
5 return (root['screenfull'] = factory()); |
6 }); |
6 }); |
7 } else if (typeof exports === 'object') { |
7 } else if (typeof module === 'object' && module.exports) { |
8 // Node. Does not work with strict CommonJS, but |
8 // Node. Does not work with strict CommonJS, but |
9 // only CommonJS-like environments that support module.exports, |
9 // only CommonJS-like environments that support module.exports, |
10 // like Node. |
10 // like Node. |
11 module.exports = factory(); |
11 module.exports = factory(); |
12 } else { |
12 } else { |