Permalink
Browse files

Reverting some changes from the incremental patch

  • Loading branch information...
1 parent 63f9b8d commit b4bfe774e3a71aaeed04ed9b06b0dcc9bb8e3a4a @Seldaek committed Apr 9, 2011
Showing with 5 additions and 17 deletions.
  1. +2 −0 README.mdown
  2. +0 −3 src/LICENSE
  3. +0 −8 src/run.js
  4. +3 −6 src/slippy.js
View
2 README.mdown
@@ -32,6 +32,8 @@ Author
Jordi Boggiano - <j.boggiano@seld.be>
<http://seld.be/> - <http://twitter.com/seldaek>
+See also the list of [contributors](https://github.com/Seldaek/slippy/contributors) which participated in this project.
+
Changelog
---------
View
3 src/LICENSE
@@ -22,6 +22,3 @@ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-Modified 2010-07-28, Masao YOKOYAMA
-http://goo.gl/rZJa - masao.yokoyama@gmail.com
View
8 src/run.js
@@ -1,8 +0,0 @@
-$(function() {
- $('.slide').slippy({
- ratio: 4 / 3,
- incrementalBefore : function(el) { $(el).hide(); },
- incrementalAfter : function(el) { $(el).slideDown(); }
- });
- SyntaxHighlighter.all();
-});
View
9 src/slippy.js
@@ -4,9 +4,6 @@
* Slippy
* Copyright (C) 2010, Jordi Boggiano
* http://seld.be/ - j.boggiano@seld.be
- *
- * Modified 2010-07-28, Masao YOKOYAMA
- * http://goo.gl/rZJa - masao.yokoyama@gmail.com
*
* Licensed under the new BSD License
* See the LICENSE file for details
@@ -414,8 +411,8 @@
animInRewind: animInRewind,
animOutForward: animOutForward,
animOutRewind: animOutRewind,
- // margin fraction, defaults to 1.5
- margin: 1.5,
+ // margin fraction, defaults to 0.15
+ margin: 0.15,
// width/height ratio of the slides, defaults to 1.3 (620x476)
ratio: 1.3,
incrementalBefore: incrementalBefore,
@@ -440,7 +437,7 @@
$(document)
.click(clickNav)
- .keydown(keyboardNav);
+ .keyup(keyboardNav);
slides.touch({
swipeLeft: nextSlide,

0 comments on commit b4bfe77

Please sign in to comment.