Skip to content

Commit

Permalink
jQuery update to latest, renamed so that future updates do not requir…
Browse files Browse the repository at this point in the history
…e modifying many files that reference the jQuery filepath (including native apps that point to readium-shared-js's own copy of jQuery, which ends-up redundant in lib/Readium.js)

See readium/readium-shared-js#156
  • Loading branch information
danielweck committed Feb 12, 2015
1 parent 2e9ccc3 commit a93304f
Show file tree
Hide file tree
Showing 4 changed files with 435 additions and 419 deletions.
13 changes: 10 additions & 3 deletions lib/Readium.js
Expand Up @@ -367,7 +367,7 @@ define('text',['module'], function (module) {
});


define('text!version.json',[],function () { return '{"readiumJs":{"sha":"5351a27f2073067d24f5a37f98ced3e9c1af0abd","tag":"Release-0.10-396-g5351a27","clean":true},"readiumSharedJs":{"sha":"1375f2de8ab214e352fb8ac863a71db150da84da","tag":"Release-0.10-474-g1375f2d","clean":true}}';});
define('text!version.json',[],function () { return '{"readiumJs":{"sha":"4242280394c045dd5d460a36041022b985c897b0","tag":"Release-0.10-397-g4242280","clean":false},"readiumSharedJs":{"sha":"94a0dc7d5bae04540b715ce17a68f419394f5e03","tag":"Release-0.10-477-g94a0dc7","clean":true}}';});

/*
This code is required to IE for console shim
Expand Down Expand Up @@ -20525,13 +20525,20 @@ ReadiumSDK.Views.ReflowableView = function(options, reader){
_$epubHtml = $("html", epubContentDocument);
_$htmlBody = $("body", _$epubHtml);

// Video surface sometimes (depends on the video codec) disappears from CSS column (i.e. reflow page) during playback (audio continues to play normally, but video canvas is invisible).
// Enabling CSS3D fixes this Chrome-specific rendering bug.
// TODO: how to address this correctly across all the affected platforms?!
// Video surface sometimes (depends on the video codec) disappears from CSS column (i.e. reflow page) during playback
// (audio continues to play normally, but video canvas is invisible).
// https://github.com/readium/readium-js-viewer/issues/265#issuecomment-73018762
// ...Meanwhile, reverting https://github.com/readium/readium-js-viewer/issues/239
// by commenting the code below (which unfortunately only works with some GPU / codec configurations,
// but actually fails on several other machines!!)
/*
if(window.chrome
&& window.navigator.vendor === "Google Inc.") // TODO: Opera (WebKit) sometimes suffers from this rendering bug too (depends on the video codec), but unfortunately GPU-accelerated rendering makes the video controls unresponsive!!
{
$("video", _$htmlBody).css("transform", "translateZ(0)");
}
*/

_htmlBodyIsVerticalWritingMode = false;
_htmlBodyIsLTRDirection = true;
Expand Down

0 comments on commit a93304f

Please sign in to comment.