fixing Options problem

This commit is contained in:
Ezequiel Bergamaschi 2014-05-16 00:27:57 -03:00
parent f1a63fbd09
commit 001f62b539
5 changed files with 5 additions and 3 deletions

View File

@ -51,6 +51,7 @@
<include>${basedir}/target/tmp/header-min.js</include> <include>${basedir}/target/tmp/header-min.js</include>
<include>${basedir}/target/tmp/Functions-min.js</include> <include>${basedir}/target/tmp/Functions-min.js</include>
<include>${basedir}/target/tmp/Utils-min.js</include> <include>${basedir}/target/tmp/Utils-min.js</include>
<include>${basedir}/../mindplot/src/main/javascript/Options.js</include>
<include>${basedir}/../mindplot/src/main/javascript/libraries/bootstrap/BootstrapDialog.js</include> <include>${basedir}/../mindplot/src/main/javascript/libraries/bootstrap/BootstrapDialog.js</include>
</includes> </includes>
</aggregation> </aggregation>

View File

@ -125,6 +125,7 @@
<includes> <includes>
<include>header.js</include> <include>header.js</include>
<include>Events.js</include> <include>Events.js</include>
<include>Options.js</include>
<include>${basedir}/../web2d/target/classes/web2d.svg-min.js</include> <include>${basedir}/../web2d/target/classes/web2d.svg-min.js</include>
<include>Messages.js</include> <include>Messages.js</include>
<include>TopicEventDispatcher.js</include> <include>TopicEventDispatcher.js</include>

View File

@ -1,4 +1,4 @@
mindplot.Options = new Class({ Options = new Class({
setOptions: function(){ setOptions: function(){
var options = this.options = Object.merge.apply(null, [{}, this.options].append(arguments)); var options = this.options = Object.merge.apply(null, [{}, this.options].append(arguments));

View File

@ -1,5 +1,5 @@
var BootstrapDialog = new Class({ var BootstrapDialog = new Class({
Implements: mindplot.Options, Implements: Options,
options: { options: {
cancelButton: false, cancelButton: false,

View File

@ -17,7 +17,7 @@
*/ */
mindplot.widget.FloatingTip = new Class({ mindplot.widget.FloatingTip = new Class({
Implements: [mindplot.Options, mindplot.Events], Implements: [Options, mindplot.Events],
options: { options: {
animation: true, animation: true,