Open rufuspollock opened 11 years ago
I'm wondering if we could take inspiration from @maxogden's https://github.com/maxogden/requirebin plus browserify generally. As I understand requirebin it uses https://github.com/maxogden/browser-module-sandbox to run the actual user script. That in turn works roughly like this:
Use browserify-cdn to grab all of those modules and then call downloadedModules (if not already cached)
request({method: "POST", body: body, url: self.cdn + '/multi', json: true}, downloadedModules)
Questions I have:
@maxogden re previous comment - any idea on the last set of questions? In particular, I take it one can do on the fly browserify-ication in the browser (and hence potentially in a web worker ...)
Should be able to specify new script libraries you can load.
This would address (or support) a lot of other issues including #68 (geocode scripting functions) and be a massive feature ...