loleaflet: test document
This commit is contained in:
parent
e17598e866
commit
d57100db3b
3 changed files with 8 additions and 2 deletions
BIN
loleaflet/spec/data/lorem.odt
Normal file
BIN
loleaflet/spec/data/lorem.odt
Normal file
Binary file not shown.
|
@ -13,10 +13,13 @@ describe('TileBench', function () {
|
|||
}
|
||||
|
||||
before(function () {
|
||||
var htmlPath = window.location.pathname;
|
||||
var dir = htmlPath.substring(0, htmlPath.lastIndexOf('/'));
|
||||
var fileURL = 'file://' + dir + '/data/lorem.odt';
|
||||
// initialize the map and load the document
|
||||
map = L.map('map', {
|
||||
server: 'ws://localhost:9980',
|
||||
doc: 'file:///home/mihai/Desktop/test_docs/eval.odt',
|
||||
doc: fileURL,
|
||||
edit: false,
|
||||
readOnly: false
|
||||
});
|
||||
|
|
|
@ -14,10 +14,13 @@ describe('TileBench', function () {
|
|||
}
|
||||
|
||||
before(function () {
|
||||
var htmlPath = window.location.pathname;
|
||||
var dir = htmlPath.substring(0, htmlPath.lastIndexOf('/'));
|
||||
var fileURL = 'file://' + dir + '/data/lorem.odt';
|
||||
// initialize the map and load the document
|
||||
map = L.map('map', {
|
||||
server: 'ws://localhost:9980',
|
||||
doc: 'file:///home/mihai/Desktop/test_docs/eval.odt',
|
||||
doc: fileURL,
|
||||
edit: false,
|
||||
readOnly: false
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue