540d5959375d39bb9bb1dd0d6cf47f81.json
1.87 KB
{"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\nmodule.exports = toSource;","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/node_modules/lodash/_toSource.js"],"names":["funcProto","Function","prototype","funcToString","toString","toSource","func","call","e","module","exports"],"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;;AAEDC,MAAM,CAACC,OAAP,GAAiBL,QAAjB","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\nmodule.exports = toSource;\n"]},"metadata":{},"sourceType":"script"}