mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-08 23:03:50 +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");
|
this["class"] = this.renderer.getAttribute("class");
|
||||||
// Compose the button
|
// Compose the button
|
||||||
var classes = ["tw-tiddlybutton"];
|
var classes = ["tw-tiddlybutton"];
|
||||||
if(this.classes) {
|
|
||||||
$tw.utils.pushTop(classes,this.classes);
|
|
||||||
}
|
|
||||||
if(this["class"]) {
|
if(this["class"]) {
|
||||||
$tw.utils.pushTop(classes,this["class"]);
|
$tw.utils.pushTop(classes,this["class"]);
|
||||||
}
|
}
|
||||||
|
@ -48,9 +48,6 @@ exports.generateChildNodes = function() {
|
|||||||
$tw.utils.pushTop(classes,"tw-tiddlylink-resolves");
|
$tw.utils.pushTop(classes,"tw-tiddlylink-resolves");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(this.classes) {
|
|
||||||
$tw.utils.pushTop(classes,this.classes);
|
|
||||||
}
|
|
||||||
var events = [{name: "click", handlerObject: this, handlerMethod: "handleClickEvent"}];
|
var events = [{name: "click", handlerObject: this, handlerMethod: "handleClickEvent"}];
|
||||||
if(this.hover) {
|
if(this.hover) {
|
||||||
events.push({name: "mouseover", handlerObject: this, handlerMethod: "handleMouseOverOrOutEvent"});
|
events.push({name: "mouseover", handlerObject: this, handlerMethod: "handleMouseOverOrOutEvent"});
|
||||||
|
@ -53,9 +53,6 @@ exports.generateChildNodes = function() {
|
|||||||
}
|
}
|
||||||
// Create the list frame element
|
// Create the list frame element
|
||||||
var classes = ["tw-list-frame"];
|
var classes = ["tw-list-frame"];
|
||||||
if(this.classes) {
|
|
||||||
$tw.utils.pushTop(classes,this.classes);
|
|
||||||
}
|
|
||||||
this.children = this.renderer.renderTree.createRenderers(this.renderer.renderContext,[{
|
this.children = this.renderer.renderTree.createRenderers(this.renderer.renderContext,[{
|
||||||
type: "element",
|
type: "element",
|
||||||
tag: "div",
|
tag: "div",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user