this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

More enable opam

+6 -3
+2 -2
example/example5.js
··· 1 1 2 2 function getWorkerURL( url ) { 3 - const content = `importScripts( "${ url }" );`; 3 + const content = `globalThis.__global_rel_url="${ url }"\nimportScripts( "${ url }/worker.js" );`; 4 4 return URL.createObjectURL( new Blob( [ content ], { type: "text/javascript" } ) ); 5 5 } 6 6 7 - const worker = new Worker(getWorkerURL("https://jon-test.ludl.am/_opam/worker.js")) 7 + const worker = new Worker(getWorkerURL("http://localhost:8001/_opam")) 8 8 9 9 var promises = new Map() 10 10 var id = 1
+3 -1
example/server.py
··· 1 1 #!/usr/bin/env python3 2 2 3 3 import http.server 4 + import sys 4 5 5 6 class MyHTTPRequestHandler(http.server.SimpleHTTPRequestHandler): 6 7 def end_headers(self): 8 + self.send_header('Access-Control-Allow-Origin', '*') 7 9 self.send_my_headers() 8 10 http.server.SimpleHTTPRequestHandler.end_headers(self) 9 11 ··· 14 16 15 17 16 18 if __name__ == '__main__': 17 - http.server.test(HandlerClass=MyHTTPRequestHandler) 19 + http.server.test(MyHTTPRequestHandler, http.server.HTTPServer, port=int(sys.argv[1]) if len(sys.argv) > 1 else 8000)
+1
lib/findlibish.ml
··· 110 110 Js_top_worker_rpc.Toplevel_api_gen.typ_of_dynamic_cmis rpc 111 111 112 112 let init sync_get findlib_index : t = 113 + Jslib.log "Initializing findlib"; 113 114 let findlib_metas = 114 115 match sync_get findlib_index with 115 116 | None -> []