1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-18 10:51:28 +02:00
This commit is contained in:
Antonio Laguna
2017-05-31 20:42:01 +02:00
parent aa1afb2927
commit eb515bbcb7
2 changed files with 7 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
/*! /*!
* Name: WebSlides * Name: WebSlides
* Version: 1.3.1 * Version: 1.3.1
* Date: 2017-05-29 * Date: 2017-05-31
* Description: Making HTML presentations easy * Description: Making HTML presentations easy
* URL: https://github.com/webslides/webslides#readme * URL: https://github.com/webslides/webslides#readme
* Credits: @jlantunez, @LuisSacristan, @Belelros * Credits: @jlantunez, @LuisSacristan, @Belelros
@@ -2954,6 +2954,7 @@ function canIuseNativeCustom() {
return 't' === p.type && 'b' === p.detail.a; return 't' === p.type && 'b' === p.detail.a;
} catch (e) {} } catch (e) {}
/* istanbul ignore next: hard to reproduce on test environment */
return false; return false;
} }
@@ -2964,6 +2965,7 @@ function canIuseNativeCustom() {
* @return {Event} * @return {Event}
* @constructor * @constructor
*/ */
/* istanbul ignore next: hard to reproduce on test environment */
var IECustomEvent = function CustomEvent(type, params) { var IECustomEvent = function CustomEvent(type, params) {
var e = document.createEvent('CustomEvent'); var e = document.createEvent('CustomEvent');
@@ -2976,6 +2978,7 @@ var IECustomEvent = function CustomEvent(type, params) {
return e; return e;
}; };
/* istanbul ignore next: hard to reproduce on test environment */
var WSCustomEvent = canIuseNativeCustom() ? NativeCustomEvent : IECustomEvent; var WSCustomEvent = canIuseNativeCustom() ? NativeCustomEvent : IECustomEvent;
/* harmony default export */ __webpack_exports__["a"] = (WSCustomEvent); /* harmony default export */ __webpack_exports__["a"] = (WSCustomEvent);
@@ -2994,16 +2997,7 @@ function swing(p) {
return 0.5 - Math.cos(p * Math.PI) / 2; return 0.5 - Math.cos(p * Math.PI) / 2;
} }
/** /* harmony default export */ __webpack_exports__["a"] = ({ swing: swing });
* Linear easing function.
* @param {number} p The percentage of time that has passed.
* @return {number}
*/
function linear(p) {
return p;
}
/* harmony default export */ __webpack_exports__["a"] = ({ swing: swing, linear: linear });
/***/ }), /***/ }),
/* 21 */ /* 21 */

File diff suppressed because one or more lines are too long