mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
1.8 KiB
JSON
1 line
1.8 KiB
JSON
|
{"ast":null,"code":"/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n/** Used to resolve the decompiled source of functions. */\n\nvar funcToString = funcProto.toString;\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\n\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n\n try {\n return func + '';\n } catch (e) {}\n }\n\n return '';\n}\n\nexport default toSource;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_toSource.js"],"names":["funcProto","Function","prototype","funcToString","toString","toSource","func","call","e"],"mappings":"AAAA;AACA,IAAIA,SAAS,GAAGC,QAAQ,CAACC,SAAzB;AAEA;;AACA,IAAIC,YAAY,GAAGH,SAAS,CAACI,QAA7B;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,QAAT,CAAkBC,IAAlB,EAAwB;AACtB,MAAIA,IAAI,IAAI,IAAZ,EAAkB;AAChB,QAAI;AACF,aAAOH,YAAY,CAACI,IAAb,CAAkBD,IAAlB,CAAP;AACD,KAFD,CAEE,OAAOE,CAAP,EAAU,CAAE;;AACd,QAAI;AACF,aAAQF,IAAI,GAAG,EAAf;AACD,KAFD,CAEE,OAAOE,CAAP,EAAU,CAAE;AACf;;AACD,SAAO,EAAP;AACD;;AAED,eAAeH,QAAf","sourcesContent":["/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nexport default toSource;\n"]},"metadata":{},"sourceType":"module"}
|