From 3a6f9282d54c959c794cd2f937782d1632bc6f75 Mon Sep 17 00:00:00 2001 From: Tri Nguyen Date: Tue, 24 Apr 2012 10:57:21 -0700 Subject: [PATCH] Added option to specify which corners are active --- turn.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/turn.js b/turn.js index 76b257c..2cdbf77 100644 --- a/turn.js +++ b/turn.js @@ -260,6 +260,9 @@ turnMethods = { this.turn('page', opts.page); + // allow setting active corners as an option + corners = $.extend({}, corners, opts.corners); + // Event listeners $(this).bind(events.start, function(e) {