mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-25 04:33:50 +01:00
some additional assertion
This commit is contained in:
parent
6de0b2d183
commit
a814366058
@ -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 ...
|
||||||
|
Loading…
Reference in New Issue
Block a user