Files
WebODF/programs/viewer/webodf.js
T
Jos van den Oever 4893efd999 Add webodf.js that is a wrapper to load runtime.js.
This allows using the same index.html in development and deployment. Just replace the wrapper webodf.js with the compiled webodf.js.
2012-11-01 13:54:30 +01:00

5 lines
127 B
JavaScript

var xhr = new XMLHttpRequest();
xhr.open("GET", "../../webodf/lib/runtime.js", false);
xhr.send(null);
eval(xhr.responseText);