Working on samples.

This commit is contained in:
Paulo Veiga
2012-02-02 12:28:54 -03:00
parent b6dd7712f9
commit 8db3e88ad9
6 changed files with 62 additions and 24 deletions

View File

@@ -27,7 +27,7 @@ mindplot.Designer = new Class({
// Dispatcher manager ...
var commandContext = new mindplot.CommandContext(this);
if (options.collab == 'standalone') {
if (!$defined(options.collab) || options.collab == 'standalone') {
this._actionDispatcher = new mindplot.StandaloneActionDispatcher(commandContext);
} else {
this._actionDispatcher = new mindplot.BrixActionDispatcher(commandContext);