Commit 183ec75e authored by ThorbenQuast's avatar ThorbenQuast
Browse files

dummy: move setup functionality to init

parent eca2e5b9
......@@ -73,11 +73,6 @@ define(["vispa/extensions", "vispa/views/center", "require", "jquery"], function
}]
}]
});
},
setup: function() {
var self = this;
this._super();
this.setLabel("id: " + this.getId());
......@@ -134,13 +129,9 @@ define(["vispa/extensions", "vispa/views/center", "require", "jquery"], function
alert("Foo bar!");
}
});
},
setup: function() {
this._super();
this.setLabel("id: " + this.getId());
this.setIcon("glyphicon glyphicon-ok")
//icon setting does not work for now
//this.setIcon("glyphicon glyphicon-ok")
},
render: function($body, $footer) {
......@@ -163,7 +154,6 @@ define(["vispa/extensions", "vispa/views/center", "require", "jquery"], function
return this;
}
});
return DummyExtension;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment