From 1f06c97a37baf677841907b549513c62dd852038 Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 6 Sep 2018 18:59:12 +0800 Subject: [PATCH] [bugfix] utils export (#521) --- dist/utils/index.js | 2 +- packages/utils/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/utils/index.js b/dist/utils/index.js index 6c78af71..71ddfc64 100644 --- a/dist/utils/index.js +++ b/dist/utils/index.js @@ -7,7 +7,7 @@ function isObj(x) { return x !== null && (type === 'object' || type === 'function'); } -export default { +export { isObj, isDef }; diff --git a/packages/utils/index.js b/packages/utils/index.js index 6c78af71..71ddfc64 100644 --- a/packages/utils/index.js +++ b/packages/utils/index.js @@ -7,7 +7,7 @@ function isObj(x) { return x !== null && (type === 'object' || type === 'function'); } -export default { +export { isObj, isDef };