Skip to content

Commit

Permalink
Lower jQ version to lowest supported
Browse files Browse the repository at this point in the history
  • Loading branch information
Martijn authored and Martijn committed Sep 1, 2013
1 parent d4f0922 commit 515b1f6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

<!-- jQuery/jQueryUI (hosted) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.js"></script>
<!--<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/themes/sunny/jquery-ui.css" rel="stylesheet" type="text/css"/>-->
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/jquery-ui.js"></script>
<!--<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.0/themes/sunny/jquery-ui.css" rel="stylesheet" type="text/css"/>-->

<!-- Markdown parser -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/pagedown/1.0/Markdown.Converter.min.js"></script>
Expand Down Expand Up @@ -238,7 +238,10 @@
animateStep: function(event, cover, offset, isVisible, isMiddle, sin, cos) {
if (isVisible) {
if (isMiddle) {
$(cover).css('-webkit-filter', 'none');
$(cover).css({
'filter': 'none',
'-webkit-filter': 'none'
});
} else {
var brightness = 1 + Math.abs(sin),
contrast = 1 - Math.abs(sin),
Expand Down
6 changes: 3 additions & 3 deletions jquery.coverflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @todo Automatic height? Set scaling
* @todo Flat view if sufficient space
* @todo Non-linear swipe
* @todo Callbacks for selected/inner/outer?
* @todo Replace _trigger with jqui 1.8- compatible
*/

;(function($, undefined) {
Expand Down Expand Up @@ -54,8 +54,8 @@
innerCss: undefined,
outerCss: undefined,

animateStep: undefined,
animateComplete: undefined,
animateStep: undefined,
animateComplete:undefined,

change: undefined, // Whenever index is changed
select: undefined, // Whenever index is set (also on init)
Expand Down

0 comments on commit 515b1f6

Please sign in to comment.