UNPKG

rn-web-cli

Version:

React Native for Web

1 lines 1.43 kB
{"version":3,"sources":["node_modules\\babel-polyfill\\node_modules\\core-js\\modules\\es6.string.raw.js"],"names":["$export","require","toIObject","toLength","S","raw","callSite","tpl","len","length","aLen","arguments","res","i","push","String","join"],"mappings":"AAAA,GAAIA,SAAYC,QAAQ,WAAR,CAAhB;AACIC,UAAYD,QAAQ,eAAR,CADhB;AAEIE,SAAYF,QAAQ,cAAR,CAFhB;;AAIAD,QAAQA,QAAQI,CAAhB,CAAmB,QAAnB,CAA6B;;AAE3BC,IAAK,QAASA,IAAT,CAAaC,QAAb,CAAsB;AACzB,GAAIC,KAAOL,UAAUI,SAASD,GAAnB,CAAX;AACIG,IAAOL,SAASI,IAAIE,MAAb,CADX;AAEIC,KAAOC,UAAUF,MAFrB;AAGIG,IAAO,EAHX;AAIIC,EAAO,CAJX;AAKA,MAAML,IAAMK,CAAZ,CAAc;AACZD,IAAIE,IAAJ,CAASC,OAAOR,IAAIM,GAAJ,CAAP,CAAT;AACA,GAAGA,EAAIH,IAAP,CAAYE,IAAIE,IAAJ,CAASC,OAAOJ,UAAUE,CAAV,CAAP,CAAT;AACb,CAAC,MAAOD,KAAII,IAAJ,CAAS,EAAT,CAAP;AACH,CAZ0B,CAA7B","file":"es6.string.raw.js","sourceRoot":"D:/Work/Office/react-native-on-web/cli/tmpl/project","sourcesContent":["var $export = require('./_export')\n , toIObject = require('./_to-iobject')\n , toLength = require('./_to-length');\n\n$export($export.S, 'String', {\n // 21.1.2.4 String.raw(callSite, ...substitutions)\n raw: function raw(callSite){\n var tpl = toIObject(callSite.raw)\n , len = toLength(tpl.length)\n , aLen = arguments.length\n , res = []\n , i = 0;\n while(len > i){\n res.push(String(tpl[i++]));\n if(i < aLen)res.push(String(arguments[i]));\n } return res.join('');\n }\n});"]}