Removed extraneous code

This was left over from before the refactoring
This commit is contained in:
Jeremy Ruston 2012-12-15 11:38:47 +00:00
parent 228ee92e95
commit c0e36f1129
3 changed files with 0 additions and 9 deletions

View File

@ -33,9 +33,6 @@ exports.generateChildNodes = function() {
this["class"] = this.renderer.getAttribute("class");
// Compose the button
var classes = ["tw-tiddlybutton"];
if(this.classes) {
$tw.utils.pushTop(classes,this.classes);
}
if(this["class"]) {
$tw.utils.pushTop(classes,this["class"]);
}

View File

@ -48,9 +48,6 @@ exports.generateChildNodes = function() {
$tw.utils.pushTop(classes,"tw-tiddlylink-resolves");
}
}
if(this.classes) {
$tw.utils.pushTop(classes,this.classes);
}
var events = [{name: "click", handlerObject: this, handlerMethod: "handleClickEvent"}];
if(this.hover) {
events.push({name: "mouseover", handlerObject: this, handlerMethod: "handleMouseOverOrOutEvent"});

View File

@ -53,9 +53,6 @@ exports.generateChildNodes = function() {
}
// Create the list frame element
var classes = ["tw-list-frame"];
if(this.classes) {
$tw.utils.pushTop(classes,this.classes);
}
this.children = this.renderer.renderTree.createRenderers(this.renderer.renderContext,[{
type: "element",
tag: "div",