mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 21:57:56 +01:00
some additional assertion
This commit is contained in:
parent
ac8581943d
commit
e642567900
@ -21,6 +21,7 @@ mindplot.Designer = new Class({
|
||||
initialize:function (options, divElement) {
|
||||
$assert(options, "options must be defined");
|
||||
$assert(options.zoom, "zoom must be defined");
|
||||
$assert(options.size, "size must be defined");
|
||||
$assert(divElement, "divElement must be defined");
|
||||
|
||||
// Set up i18n location ...
|
||||
|
Loading…
Reference in New Issue
Block a user