mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-01 07:36:18 +00:00
30 lines
606 B
JavaScript
30 lines
606 B
JavaScript
/*\
|
|
title: $:/core/modules/widgets/log.js
|
|
type: application/javascript
|
|
module-type: widget-subclass
|
|
|
|
Widget to log debug messages
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true, browser: true */
|
|
/*global $tw: false */
|
|
"use strict";
|
|
|
|
exports.baseClass = "action-log";
|
|
|
|
exports.name = "log";
|
|
|
|
exports.constructor = function(parseTreeNode,options) {
|
|
this.initialise(parseTreeNode,options);
|
|
}
|
|
|
|
exports.prototype = {};
|
|
|
|
exports.prototype.render = function(event) {
|
|
Object.getPrototypeOf(Object.getPrototypeOf(this)).render.call(this,event);
|
|
Object.getPrototypeOf(Object.getPrototypeOf(this)).log.call(this);
|
|
}
|
|
|
|
})(); |