comparison default/node_modules/shoestring/build/config/wrapStartFile.frag @ 0:1d038bc9b3d2 default tip

Up:default
author Liny <dev@neowd.com>
date Sat, 31 May 2025 09:21:51 +0800
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1d038bc9b3d2
1 (function( factory ) {
2 if( typeof define === 'function' && define.amd ) {
3 // AMD. Register as an anonymous module.
4 define( [ 'shoestring' ], factory );
5 } else if (typeof module === 'object' && module.exports) {
6 // Node/CommonJS
7 module.exports = factory();
8 } else {
9 // Browser globals
10 factory();
11 }
12 }(function () {
13 var win = typeof window !== "undefined" ? window : this;
14 var doc = win.document;
15