diff --git a/dist/bespoke-scale.js b/dist/bespoke-scale.js old mode 100755 new mode 100644 index 4b06a5f..79a6955 --- a/dist/bespoke-scale.js +++ b/dist/bespoke-scale.js @@ -1,7 +1,7 @@ /*! * bespoke-scale v1.0.1 * - * Copyright 2014, Mark Dalgleish + * Copyright 2015, Mark Dalgleish * This content is released under the MIT license * http://mit-license.org/markdalgleish */ @@ -13,7 +13,7 @@ module.exports = function(options) { firstSlide = deck.slides[0], slideHeight = firstSlide.offsetHeight, slideWidth = firstSlide.offsetWidth, - useZoom = options === 'zoom' || ('zoom' in parent.style && options !== 'transform'), + useZoom = options === 'zoom' || (options !== 'transform' && 'webkitAppearance' in parent.style), wrap = function(element) { var wrapper = document.createElement('div'); diff --git a/dist/bespoke-scale.min.js b/dist/bespoke-scale.min.js old mode 100755 new mode 100644 index 66acbc8..6b1c056 --- a/dist/bespoke-scale.min.js +++ b/dist/bespoke-scale.min.js @@ -1,2 +1,2 @@ -/*! bespoke-scale v1.0.1 © 2014 Mark Dalgleish, MIT License */ -!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;"undefined"!=typeof window?n=window:"undefined"!=typeof global?n=global:"undefined"!=typeof self&&(n=self);var t=n;t=t.bespoke||(t.bespoke={}),t=t.plugins||(t.plugins={}),t.scale=e()}}(function(){return function e(n,t,o){function r(f,s){if(!t[f]){if(!n[f]){var u="function"==typeof require&&require;if(!s&&u)return u(f,!0);if(i)return i(f,!0);throw new Error("Cannot find module '"+f+"'")}var d=t[f]={exports:{}};n[f][0].call(d.exports,function(e){var t=n[f][1][e];return r(t?t:e)},d,d.exports,e,n,t,o)}return t[f].exports}for(var i="function"==typeof require&&require,f=0;f