Commit 8d556d5f authored by Thibaut Frain's avatar Thibaut Frain

webodf minimal integration

parent 8dd12afd
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type"/>
<meta content="utf-8" http-equiv="encoding"/>
<title>WebODF</title>
<script src="../lib/jquery.js"></script>
<script src="../lib/jschannel.js"></script>
<script src="../lib/renderjs.js"></script>
<script src="../lib/webodf.js"></script>
<script src="../js/gadget_webodf.js"></script>
</head>
<body>
<div id="odf"></div>
</body>
</html>
/*global window, jQuery, rJS, odf*/
"use strict";
(function (window, $, rJS, odf) {
rJS(window).ready(function () {
var gadget = rJS(this);
gadget.odfElem = $('#odf')[0];
gadget.odfCanvas = odf.OdfCanvas(gadget.odfElem);
});
}(window, jQuery, rJS, odf));
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment