Commit 47efa353 authored by Alexandros Georgantas's avatar Alexandros Georgantas

global teams in navbar and new pagedjs

parent 12850eaa
......@@ -85,6 +85,9 @@ class Navigation extends React.Component {
<LinkContainer to="/users">
<NavItem>Users</NavItem>
</LinkContainer>
<LinkContainer to="/globalTeams">
<NavItem>Global Teams</NavItem>
</LinkContainer>
</Authorize>
{BackToBooks}
......
This diff is collapsed.
......@@ -7,11 +7,10 @@
<title>Pagedjs Viewer</title>
<meta content="width=device-width, initial-scale=1" name="viewport">
<script src="../lib/paged.js"></script>
<!-- <script src="../lib/paged.polyfill.js"></script> -->
<!-- <script src="../lib/numberingHeaders.js"></script> -->
<!-- <script src="../lib/paged.js"></script> -->
<script src="../lib/paged.polyfill.js"></script>
<!-- <script>
<script>
let Hyphenopoly = {
require: {
"en-us": "FORCEHYPHENOPOLY"
......@@ -29,28 +28,16 @@
},
handleEvent: {
hyphenopolyEnd: function (e) {
// numHead();
window.previewer.preview();
window.PagedPolyfill.preview();
}
}
};
</script> -->
<!-- <script src="../lib/hyphens/Hyphenopoly_Loader.js"></script> -->
</script>
<script src="../lib/hyphens/Hyphenopoly_Loader.js"></script>
<script>
// class MyHandler extends Paged.Handler {
// constructor(chunker, polisher, caller) {
// super(chunker, polisher, caller);
// }
// beforeParsed(content) {
// numHead();
// }
// }
// Paged.registerHandlers(MyHandler);
// window.PagedConfig = {
// auto: false
// };
window.PagedConfig = {
auto: false
};
let ready = new Promise(function (resolve, reject) {
if (document.readyState === "interactive" || document.readyState === "complete") {
resolve(document.readyState);
......
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