Skip to content

Commit

Permalink
Merge pull request #5670 from burn123/InfoBoxCheck
Browse files Browse the repository at this point in the history
Replace DeveloperError with Check in InfoBox
  • Loading branch information
Hannah authored Jul 25, 2017
2 parents 60e54fb + a2c2486 commit bd22854
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Source/Widgets/InfoBox/InfoBox.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
define([
'../../Core/buildModuleUrl',
'../../Core/Check',
'../../Core/Color',
'../../Core/defined',
'../../Core/defineProperties',
'../../Core/destroyObject',
'../../Core/DeveloperError',
'../../ThirdParty/knockout',
'../getElement',
'../subscribeAndEvaluate',
'./InfoBoxViewModel'
], function(
buildModuleUrl,
Check,
Color,
defined,
defineProperties,
destroyObject,
DeveloperError,
knockout,
getElement,
subscribeAndEvaluate,
Expand All @@ -34,9 +34,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 bd22854

Please sign in to comment.