This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Dependencies were minified

  • Loading branch information...
dmfrancisco committed Aug 5, 2011
1 parent e1b5b0b commit b14219f0998eff4a37c28a0d0b828e0bbd308fc8
Showing with 41 additions and 331 deletions.
  1. +0 −96 lib/jquery.jswipe-0.1.2.js
  2. +16 −0 lib/jquery.jswipe-0.1.2.min.js
  3. +0 −233 lib/live.js
  4. +23 −0 lib/live.min.js
  5. +2 −2 slideshow/master.html

This file was deleted.

Oops, something went wrong.
@@ -0,0 +1,16 @@
/*
* jSwipe - jQuery Plugin
* http://plugins.jquery.com/project/swipe
* http://www.ryanscherf.com/demos/swipe/
*
* Copyright (c) 2009 Ryan Scherf (www.ryanscherf.com)
* Licensed under the MIT license
*
* $Date: 2009-07-14 (Tue, 14 Jul 2009) $
* $version: 0.1.2
*
* This jQuery plugin will only run on devices running Mobile Safari
* on iPhone or iPod Touch devices running iPhone OS 2.0 or later.
* http://developer.apple.com/iphone/library/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW5
*/
(function(a){a.fn.swipe=function(b){var c={threshold:{x:30,y:10},swipeLeft:function(){alert("swiped left")},swipeRight:function(){alert("swiped right")}};var b=a.extend(c,b);if(!this)return false;return this.each(function(){function i(a){}function f(a){d.x=a.targetTouches[0].pageX;d.y=a.targetTouches[0].pageY;e.x=d.x;e.y=d.y}function h(a){var b=d.y-e.y;if(b<c.threshold.y&&b>c.threshold.y*-1){changeX=d.x-e.x;if(changeX>c.threshold.x){c.swipeLeft()}if(changeX<c.threshold.x*-1){c.swipeRight()}}}function g(a){a.preventDefault();e.x=a.targetTouches[0].pageX;e.y=a.targetTouches[0].pageY}function f(a){d.x=a.targetTouches[0].pageX;d.y=a.targetTouches[0].pageY}var b=a(this);var d={x:0,y:0};var e={x:0,y:0};this.addEventListener("touchstart",f,false);this.addEventListener("touchmove",g,false);this.addEventListener("touchend",h,false);this.addEventListener("touchcancel",i,false)})}})(jQuery)

This file was deleted.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -57,9 +57,9 @@ <h1 class="hide">An example slideshow</h1>
</noscript>
<script src="lib/jquery-1.5.2.min.js"></script>
<script src="lib/jquery.jswipe-0.1.2.js"></script>
<script src="lib/jquery.jswipe-0.1.2.min.js"></script>
<script src="lib/html-slides.js"></script>
<% if @live %><script src="lib/live.js"></script><% end %>
<% if @live %><script src="lib/live.min.js"></script><% end %>
<script>
// Block access from older browsers (you probably want to remove this; keep in mind that there're still some issues)

0 comments on commit b14219f

Please sign in to comment.