Skip to content

Commit

Permalink
Use Check in InfoBox
Browse files Browse the repository at this point in the history
  • Loading branch information
cguldner committed Jul 23, 2017
1 parent 69a7cc8 commit f21a167
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Widgets/InfoBox/InfoBox.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
define([
'../../Core/buildModuleUrl',
'../../Core/Check',
'../../Core/Color',
'../../Core/defined',
'../../Core/defineProperties',
Expand All @@ -11,6 +12,7 @@ define([
'./InfoBoxViewModel'
], function(
buildModuleUrl,
Check,
Color,
defined,
defineProperties,
Expand All @@ -34,9 +36,7 @@ define([
*/
function InfoBox(container) {
//>>includeStart('debug', pragmas.debug);
if (!defined(container)) {
throw new DeveloperError('container is required.');
}
Check.defined('container', container);
//>>includeEnd('debug')

container = getElement(container);
Expand Down

0 comments on commit f21a167

Please sign in to comment.