projects
/
bookreader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added jstore path
[bookreader.git]
/
BookReaderDemo
/
BookReaderJSSimple.js
diff --git
a/BookReaderDemo/BookReaderJSSimple.js
b/BookReaderDemo/BookReaderJSSimple.js
index
fe3219a
..
4dd476d
100644
(file)
--- a/
BookReaderDemo/BookReaderJSSimple.js
+++ b/
BookReaderDemo/BookReaderJSSimple.js
@@
-86,5
+86,14
@@
br.bookUrl = 'http://openlibrary.org';
// Override the path used to find UI images
br.imagesBaseURL = '../BookReader/images/';
// Override the path used to find UI images
br.imagesBaseURL = '../BookReader/images/';
+br.getEmbedCode = function(frameWidth, frameHeight, viewParams) {
+ return "Embed code not supported in bookreader demo.";
+}
+
// Let's go!
br.init();
// Let's go!
br.init();
+
+// read-aloud and search need backend compenents and are not supported in the demo
+$('#BRtoolbar').find('.read').hide();
+$('#textSrch').hide();
+$('#btnSrch').hide();