From 0a8c7b6772329c37f96c9c16713a6fc6e933c074 Mon Sep 17 00:00:00 2001 From: Technote Date: Tue, 11 Feb 2020 23:16:49 +0900 Subject: [PATCH 1/2] fix: fatal error --- src/defaults.js | 4 +++- src/index.js | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/defaults.js b/src/defaults.js index c9ff0c6..1b26526 100644 --- a/src/defaults.js +++ b/src/defaults.js @@ -9,5 +9,7 @@ export const SETTINGS_DEFAULTS = { repeat: false, stripe: false, 'stripe_thickness': 2, - cssFilter: css => css, + cssFilter: function(css) { + return css; + }, }; diff --git a/src/index.js b/src/index.js index e6a2931..3c3a181 100644 --- a/src/index.js +++ b/src/index.js @@ -2,6 +2,8 @@ require('jquery-inview'); import $ from 'jquery'; import { setup } from './setup'; -$.fn.markerAnimation = (...args) => { - return this.each(() => setup($(this), args)); +$.fn.markerAnimation = function(...args) { + return this.each(function() { + setup($(this), args); + }); }; From ecf424cf7283036fddd42594277879b8420eb41c Mon Sep 17 00:00:00 2001 From: Technote Date: Tue, 11 Feb 2020 23:17:21 +0900 Subject: [PATCH 2/2] feat: Update package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7fbbe85..90cd628 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jquery.marker-animation", - "version": "1.4.14", + "version": "1.4.15", "description": "Marker animation jQuery plugin", "author": { "name": "Technote",