Source-map.zip

时间:2022-08-04 04:44:12
【文件属性】:
文件名称:Source-map.zip
文件大小:2.24MB
文件格式:ZIP
更新时间:2022-08-04 04:44:12
开源项目 Source-map 是一个能够生成和使用源地图格式的开发包。 这个开发包是使用异步模块定义格式编写的,工作在下面的环境中: 现代浏览器支持 ECMAScript 5  内置火狐作为 JSM 文件(after the build) 需要 NodeJS 0.8.X 或更高版本 使用源地图(Consuming a source map) var rawSourceMap = {   version: 3,   file: 'min.js',   names: ['bar', 'baz', 'n'],   sources: ['one.js', 'two.js'],   sourceRoot: 'http://example.com/www/js/',   mappings: 'CAAC,IAAI,IAAM,SAAUA,GAClB,OAAOC,IAAID;CCDb,IAAI,IAAM,SAAUE,GAClB,OAAOA'};var smc = new SourceMapConsumer(rawSourceMap);console.log(smc.sources);// [ 'http://example.com/www/js/one.js',//   'http://example.com/www/js/two.js' ]console.log(smc.originalPositionFor({   line: 2,   column: 28}));// { source: 'http://example.com/www/js/two.js',//   line: 2,//   column: 10,//   name: 'n' }console.log(smc.generatedPositionFor({   source: 'http://example.com/www/js/two.js',   line: 2,   column: 10}));// { line: 2, column: 28 }smc.eachMapping(function (m) {  // ...}); 标签:Source 分享 window._bd_share_config = { "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": [], "bdPic": "", "bdStyle": "1", "bdSize": "24" }, "share": {} }; with (document)0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' ~(-new Date() / 36e5)];\r\n \r\n \r\n \r\n \r\n \u8f6f\u4ef6\u9996\u9875\r\n \u8f6f\u4ef6\u4e0b\u8f7d\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\nwindow.changyan.api.config({\r\nappid: 'cysXjLKDf', conf: 'prod_33c27aefa42004c9b2c12a759c851039' });
【文件预览】:
source-map-master
----.gitignore(124B)
----.waiting.html(422B)
----bench()
--------size.r(1KB)
--------.gitignore(6B)
--------README.md(552B)
--------bench.html(2KB)
--------function-size.r(1KB)
--------section-size.r(703B)
--------stats.js(851B)
--------angular-min-source-map.js(421KB)
--------bench.js(5KB)
--------bench-dom-bindings.js(4KB)
--------package.json(183B)
--------scalajs-runtime-sourcemap.js(15.19MB)
--------plot.r(5KB)
--------webpack.config.js(351B)
--------self-source-map.js(251KB)
----README.md(26KB)
----CHANGELOG.md(11KB)
----test()
--------test-source-map-generator.js(23KB)
--------test-util.js(11KB)
--------test-base64-vlq.js(17KB)
--------test-nested-consumer-usage.js(2KB)
--------util.js(11KB)
--------run-tests.js(1KB)
--------test-array-set.js(3KB)
--------test-binary-search.js(3KB)
--------test-source-node.js(19KB)
--------test-source-map-consumer.js(47KB)
--------test-base64.js(613B)
--------test-dog-fooding.js(5KB)
--------test-api.js(529B)
----LICENSE(1KB)
----.gitattributes(42B)
----source-map.js(405B)
----package.json(3KB)
----CONTRIBUTING.md(5KB)
----CODE_OF_CONDUCT.md(691B)
----source-map.d.ts(13KB)
----.travis.yml(260B)
----lib()
--------mappings.wasm(48KB)
--------read-wasm.js(661B)
--------binary-search.js(4KB)
--------base64.js(579B)
--------base64-vlq.js(4KB)
--------util.js(12KB)
--------array-set.js(2KB)
--------url.js(476B)
--------wasm.js(3KB)
--------url-browser.js(669B)
--------source-map-consumer.js(33KB)
--------source-map-generator.js(13KB)
--------mapping-list.js(2KB)
--------source-node.js(13KB)
--------read-wasm-browser.js(637B)
----.eslintrc.js(9KB)

网友评论