File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33const fetch = require ( 'node-fetch' ) ;
44
5- module . exports = ( req , res ) => fetch ( 'https://raw.githubusercontent.com/ engine262/engine262/gh-pages/engine262.js' )
5+ module . exports = ( req , res ) => fetch ( new URL ( req . url , 'https://engine262.github.io' ) )
66 . then ( ( r ) => r . text ( ) )
77 . then ( ( body ) => {
88 res . writeHead ( 200 , { 'Content-Type' : 'text/javascript' } ) ;
Original file line number Diff line number Diff line change 99 {
1010 "src" : " /engine262/engine262.js" ,
1111 "dest" : " /api/bridge.js"
12+ },
13+ {
14+ "src" : " /engine262/engine262.js.map" ,
15+ "dest" : " /api/bridge.js"
1216 }
1317 ],
1418 "env" : {
Original file line number Diff line number Diff line change 55
66importScripts ( 'https://unpkg.com/acorn@7.0.0/dist/acorn.js' ) ;
77importScripts ( 'https://unpkg.com/nearley@2.16.0/lib/nearley.js' ) ;
8- importScripts ( ` /engine262/engine262.js?_= ${ Date . now ( ) } ` ) ;
8+ importScripts ( ' /engine262/engine262.js' ) ;
99
1010const {
1111 initializeAgent,
You can’t perform that action at this time.
0 commit comments