Finally viewmode.html render.

This commit is contained in:
Paulo Gustavo Veiga
2014-03-05 00:14:28 -03:00
parent 255f50eda8
commit e5186688ab
33 changed files with 158 additions and 159 deletions

View File

@@ -42,7 +42,7 @@ mindplot.MainTopic = new Class({
// Create group ...
var groupAttributes = {width:100, height:100, coordSizeWidth:100, coordSizeHeight:100};
var group = new web2d.Group(groupAttributes);
group.appendChild(innerShape);
group.append(innerShape);
// Add Text ...
if (this.getShapeType() != mindplot.model.TopicShape.IMAGE) {
@@ -50,7 +50,7 @@ mindplot.MainTopic = new Class({
var text = this.getText();
textShape.setText(text);
textShape.setOpacity(0.5);
group.appendChild(textShape);
group.append(textShape);
}
return group;
},