some additional assertion

This commit is contained in:
Ezequiel Bergamaschi 2014-10-07 01:16:56 -03:00
parent ac8581943d
commit e642567900

View File

@ -21,6 +21,7 @@ mindplot.Designer = new Class({
initialize:function (options, divElement) { initialize:function (options, divElement) {
$assert(options, "options must be defined"); $assert(options, "options must be defined");
$assert(options.zoom, "zoom must be defined"); $assert(options.zoom, "zoom must be defined");
$assert(options.size, "size must be defined");
$assert(divElement, "divElement must be defined"); $assert(divElement, "divElement must be defined");
// Set up i18n location ... // Set up i18n location ...