1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-11 18:00:26 +00:00

Fixed the typos Mario noticed

This commit is contained in:
Stephan Hradek 2013-12-19 20:38:59 +01:00
parent 42ba6852d1
commit 04077549ca

View File

@ -173,10 +173,10 @@ exports.tiddlerExists = function(title) {
Generate an unused title from the specified base Generate an unused title from the specified base
*/ */
exports.generateNewTitle = function(baseTitle) { exports.generateNewTitle = function(baseTitle) {
var c = 0 var c = 0,
title = baseTitle; title = baseTitle;
while(this.tiddlerExists(title) { while(this.tiddlerExists(title) {
var title = baseTitle + " " + (++c); title = baseTitle + " " + (++c);
}; };
return title; return title;
}; };