readium/readium-js — pull request #23 by yuriyp (2014-02-18 16:31:06+00:00)
Title: Initial changes for cross-platform support

Initial changes for cross-platform support:
1. Console shim added (it is needed for IE)
2. jquery version was changed to 1.11.0 (it is needed for IE)
3. reflowable view now uses custom cfiNavigationLogicReflowable to handle different rendering engines (WebKit, Blink, Gecko, Trident) in uniform way.

TODO:
- Native Launchers/SDK should load new module: cfiNavigationLogicReflowable: 'epub-modules/epub-renderer/src/readium-shared-js/js/views/cfi_navigation_logic_reflowable_view'
- it is suggested to switch readium-js-viewer to jquery-1.11.0.js
- common code from cfi_navigation_logic.js and cfi_navigation_logic_reflowable_view.js to be extracted to superclass
- CfiNavigationLogicReflowable.getFirstVisibleElementCfi does not support custom extension introduced in CfiNavigationLogic related to percentage of visibility as this logic is WebKit specific.