File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,6 @@ function isObject(val) {
1111 return val != null && typeof val === 'object' && Array . isArray ( val ) === false ;
1212}
1313
14- var isobject = /*#__PURE__*/ Object . freeze ( {
15- 'default' : isObject
16- } ) ;
17-
18- function getCjsExportFromNamespace ( n ) {
19- return n && n [ 'default' ] || n ;
20- }
21-
22- var isobject$1 = getCjsExportFromNamespace ( isobject ) ;
23-
2414/* eslint-disable no-undef */
2515// Copyright 2015 mParticle, Inc.
2616//
@@ -352,12 +342,12 @@ var isobject$1 = getCjsExportFromNamespace(isobject);
352342 return ;
353343 }
354344
355- if ( ! isobject$1 ( config ) ) {
345+ if ( ! isObject ( config ) ) {
356346 console . log ( '\'config\' must be an object. You passed in a ' + typeof config ) ;
357347 return ;
358348 }
359349
360- if ( isobject$1 ( config . kits ) ) {
350+ if ( isObject ( config . kits ) ) {
361351 config . kits [ name ] = {
362352 constructor : constructor
363353 } ;
You can’t perform that action at this time.
0 commit comments