From 40628f17998aab804678c883990d2ab6f9d91731 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 29 May 2018 12:06:21 +0800 Subject: [PATCH] #28 released v3.3.2 --- dist/hotkeys.common.js | 4 ++-- dist/hotkeys.common.min.js | 4 ++-- dist/hotkeys.esm.js | 4 ++-- dist/hotkeys.js | 4 ++-- dist/hotkeys.min.js | 4 ++-- package.json | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dist/hotkeys.common.js b/dist/hotkeys.common.js index 8b464e06..257f7e62 100644 --- a/dist/hotkeys.common.js +++ b/dist/hotkeys.common.js @@ -1,5 +1,5 @@ /*! - * hotkeys-js v3.3.1 + * hotkeys-js v3.3.2 * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. * * Copyright (c) 2018 kenny wong @@ -330,7 +330,7 @@ function hotkeys(key, option, method) { method = option; } - if (toString.call(option) === '[object Object]') { + if (Object.prototype.toString.call(option) === '[object Object]') { if (option.scope) scope = option.scope; // eslint-disable-line if (option.element) element = option.element; // eslint-disable-line } diff --git a/dist/hotkeys.common.min.js b/dist/hotkeys.common.min.js index 5be9c37e..eec6fd5a 100644 --- a/dist/hotkeys.common.min.js +++ b/dist/hotkeys.common.min.js @@ -1,2 +1,2 @@ -/*! hotkeys-js v3.3.1 | MIT (c) 2018 kenny wong | http://jaywcjlove.github.io/hotkeys */ -"use strict";var isff="undefined"!=typeof navigator&&0 | http://jaywcjlove.github.io/hotkeys */ +"use strict";var isff="undefined"!=typeof navigator&&0 @@ -328,7 +328,7 @@ function hotkeys(key, option, method) { method = option; } - if (toString.call(option) === '[object Object]') { + if (Object.prototype.toString.call(option) === '[object Object]') { if (option.scope) scope = option.scope; // eslint-disable-line if (option.element) element = option.element; // eslint-disable-line } diff --git a/dist/hotkeys.js b/dist/hotkeys.js index 1ac2eab6..a05633d8 100644 --- a/dist/hotkeys.js +++ b/dist/hotkeys.js @@ -1,5 +1,5 @@ /*! - * hotkeys-js v3.3.1 + * hotkeys-js v3.3.2 * A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies. * * Copyright (c) 2018 kenny wong @@ -334,7 +334,7 @@ function hotkeys(key, option, method) { method = option; } - if (toString.call(option) === '[object Object]') { + if (Object.prototype.toString.call(option) === '[object Object]') { if (option.scope) scope = option.scope; // eslint-disable-line if (option.element) element = option.element; // eslint-disable-line } diff --git a/dist/hotkeys.min.js b/dist/hotkeys.min.js index 88f8bde1..7e9ef799 100644 --- a/dist/hotkeys.min.js +++ b/dist/hotkeys.min.js @@ -1,2 +1,2 @@ -/*! hotkeys-js v3.3.1 | MIT (c) 2018 kenny wong | http://jaywcjlove.github.io/hotkeys */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.hotkeys=t()}(this,function(){"use strict";var e="undefined"!=typeof navigator&&0 | http://jaywcjlove.github.io/hotkeys */ +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.hotkeys=t()}(this,function(){"use strict";var e="undefined"!=typeof navigator&&0