summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/utils.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2015-08-01 21:47:13 -0500
committerkpdecker <kpdecker@gmail.com>2015-08-01 22:01:16 -0500
commitefddc3c09cacd6719a8206eeb3787a0c3aabb174 (patch)
treeaafff8bdacd93df102999d21ed9fa8038be640a8 /lib/handlebars/utils.js
parentf3e8b189254b86d2c852342d69167c35a08598a9 (diff)
downloadhandlebars.js-efddc3c09cacd6719a8206eeb3787a0c3aabb174.zip
handlebars.js-efddc3c09cacd6719a8206eeb3787a0c3aabb174.tar.gz
handlebars.js-efddc3c09cacd6719a8206eeb3787a0c3aabb174.tar.bz2
Increase code coverage
Diffstat (limited to 'lib/handlebars/utils.js')
-rw-r--r--lib/handlebars/utils.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/handlebars/utils.js b/lib/handlebars/utils.js
index c7a5762..81050f9 100644
--- a/lib/handlebars/utils.js
+++ b/lib/handlebars/utils.js
@@ -30,8 +30,8 @@ export let toString = Object.prototype.toString;
// Sourced from lodash
// https://github.com/bestiejs/lodash/blob/master/LICENSE.txt
-/*eslint-disable func-style, no-var */
-var isFunction = function(value) {
+/*eslint-disable func-style */
+let isFunction = function(value) {
return typeof value === 'function';
};
// fallback for older versions of Chrome and Safari
@@ -41,8 +41,8 @@ if (isFunction(/x/)) {
return typeof value === 'function' && toString.call(value) === '[object Function]';
};
}
-export var isFunction;
-/*eslint-enable func-style, no-var */
+export {isFunction};
+/*eslint-enable func-style */
/* istanbul ignore next */
export const isArray = Array.isArray || function(value) {