mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Typeof null === 'object'
This commit is contained in:
parent
7c4fb49e9e
commit
45b0ab75aa
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ define(function (require) {
|
|||
var params;
|
||||
|
||||
// Must get an object for this one
|
||||
if (typeof opts !== 'object') return;
|
||||
if (!_.isObject(opts)) return;
|
||||
|
||||
vis.typeName = opts.type || 'histogram';
|
||||
vis.params = _.cloneDeep(opts.params);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue