From 2c13ef6a1cfd79872f734d17ecd949e781f1eb76 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 8 Apr 2015 12:00:28 -0700 Subject: grunt dist --- dist/browser/mq4-hover-shim.js | 7 ++----- dist/cjs/mq4-hover-shim.js | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/dist/browser/mq4-hover-shim.js b/dist/browser/mq4-hover-shim.js index b88d1fd..364af6e 100644 --- a/dist/browser/mq4-hover-shim.js +++ b/dist/browser/mq4-hover-shim.js @@ -10,9 +10,6 @@ var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; }; - - - /** * Does this UA's primary pointer support true hovering * OR does the UA at least not try to quirkily emulate hovering, @@ -23,7 +20,7 @@ var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? ob * @since 0.0.1 */ exports.supportsTrueHover = supportsTrueHover; -/*eslint-env browser */ +/*eslint-env browser, es6 */ /*eslint no-var:2*/ /* jshint browser: true, esnext: true */ /* jshint -W080 */ @@ -85,7 +82,7 @@ function triggerEvent() { var HOVER_HOVER = "(hover: hover),(-moz-hover: hover),(-ms-hover: hover),(-webkit-hover: hover)"; if (window.matchMedia("" + HOVER_NONE + "," + HOVER_ON_DEMAND + "," + HOVER_HOVER).matches) { // Browser understands the `hover` media feature - var hoverCallback = function (mql) { + var hoverCallback = function hoverCallback(mql) { var doesMatch = mql.matches; if (doesMatch !== canTrulyHover) { canTrulyHover = doesMatch; diff --git a/dist/cjs/mq4-hover-shim.js b/dist/cjs/mq4-hover-shim.js index 4ea9bfe..b8286c9 100644 --- a/dist/cjs/mq4-hover-shim.js +++ b/dist/cjs/mq4-hover-shim.js @@ -2,9 +2,6 @@ var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { "default": obj }; }; - - - /** * Does this UA's primary pointer support true hovering * OR does the UA at least not try to quirkily emulate hovering, @@ -15,7 +12,7 @@ var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? ob * @since 0.0.1 */ exports.supportsTrueHover = supportsTrueHover; -/*eslint-env browser */ +/*eslint-env browser, es6 */ /*eslint no-var:2*/ /* jshint browser: true, esnext: true */ /* jshint -W080 */ @@ -77,7 +74,7 @@ function triggerEvent() { var HOVER_HOVER = "(hover: hover),(-moz-hover: hover),(-ms-hover: hover),(-webkit-hover: hover)"; if (window.matchMedia("" + HOVER_NONE + "," + HOVER_ON_DEMAND + "," + HOVER_HOVER).matches) { // Browser understands the `hover` media feature - var hoverCallback = function (mql) { + var hoverCallback = function hoverCallback(mql) { var doesMatch = mql.matches; if (doesMatch !== canTrulyHover) { canTrulyHover = doesMatch; -- cgit v1.2.3