Browse Source

Add WebODF 0.5.1

pull/78/head
Joachim Bauch 11 years ago
parent
commit
6dc5140213
  1. 641
      static/js/libs/webodf.js
  2. 11
      static/js/main.js

641
static/js/libs/webodf.js

File diff suppressed because one or more lines are too long

11
static/js/main.js

@ -52,6 +52,7 @@ require.config({ @@ -52,6 +52,7 @@ require.config({
'pdf': 'libs/pdf/pdf',
'pdf.worker': 'libs/pdf/pdf.worker',
'pdf.compatibility': 'libs/pdf/compatibility',
'webodf': 'libs/webodf',
'partials': '../partials',
'sounds': '../sounds',
@ -116,6 +117,16 @@ require.config({ @@ -116,6 +117,16 @@ require.config({
'pdf': {
deps: ['pdf.compatibility'],
exports: 'PDFJS'
},
'webodf': {
exports: 'odf',
init: function() {
return {
webodf: webodf,
odf: odf,
runtime: runtime
}
}
}
}
});

Loading…
Cancel
Save