1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Removed erroneous cruft

This commit is contained in:
Jeremy Ruston 2012-12-20 15:43:12 +00:00
parent 055bdd8d8f
commit 2f091fefda
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ exports.init = function(parser) {
this.matchRegExp = /\{\{\{\r?\n/mg;
};
exports.parse = function(match,isBlock) {
exports.parse = function() {
var reEnd = /(\r?\n\}\}\}$)/mg;
// Move past the match
this.parser.pos = this.matchRegExp.lastIndex;

View File

@ -24,7 +24,7 @@ exports.init = function(parser) {
this.matchRegExp = /-{3,}\r?\n/mg;
};
exports.parse = function(match,isBlock) {
exports.parse = function() {
// Move past the match
this.parser.pos = this.matchRegExp.lastIndex;
return [{type: "element", tag: "hr"}];

View File

@ -24,7 +24,7 @@ exports.init = function(parser) {
this.matchRegExp = /\<![ \r\n\t]*(?:--(?:[^\-]|[\r\n]|-[^\-])*--[ \r\n\t]*)\>/mg;
};
exports.parse = function(match,isBlock) {
exports.parse = function() {
// Move past the match
this.parser.pos = this.matchRegExp.lastIndex;
// Don't return any elements