1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-06-06 16:44:07 +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; this.matchRegExp = /\{\{\{\r?\n/mg;
}; };
exports.parse = function(match,isBlock) { exports.parse = function() {
var reEnd = /(\r?\n\}\}\}$)/mg; var reEnd = /(\r?\n\}\}\}$)/mg;
// Move past the match // Move past the match
this.parser.pos = this.matchRegExp.lastIndex; this.parser.pos = this.matchRegExp.lastIndex;

View File

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