mirror of
https://github.com/webodf/WebODF.git
synced 2026-11-30 16:47:58 +01:00
This allows using the same index.html in development and deployment. Just replace the wrapper webodf.js with the compiled webodf.js.
5 lines
127 B
JavaScript
5 lines
127 B
JavaScript
var xhr = new XMLHttpRequest();
|
|
xhr.open("GET", "../../webodf/lib/runtime.js", false);
|
|
xhr.send(null);
|
|
eval(xhr.responseText);
|