Skip to content

Commit

Permalink
fixing array check to use defined
Browse files Browse the repository at this point in the history
  • Loading branch information
rahwang committed Jan 30, 2017
1 parent e56141f commit ae46551
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/Core/PolygonGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ define([
options = defaultValue(options, defaultValue.EMPTY_OBJECT);

//>>includeStart('debug', pragmas.debug);
Check.typeOf.object('options.positions', options.positions);
Check.defined('options.positions', options.positions);
//>>includeEnd('debug');

var newOptions = {
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/PolygonOutlineGeometry.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ define([
options = defaultValue(options, defaultValue.EMPTY_OBJECT);

//>>includeStart('debug', pragmas.debug);
Check.typeOf.object('options.positions', options.positions);
Check.defined('options.positions', options.positions);
//>>includeEnd('debug');

var newOptions = {
Expand Down

0 comments on commit ae46551

Please sign in to comment.