mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-08 19:56:39 +00:00
Removed extraneous code
This was left over from before the refactoring
This commit is contained in:
parent
228ee92e95
commit
c0e36f1129
@ -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"]);
|
||||
}
|
||||
|
@ -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"});
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user