1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 02:50:27 +00:00

Use "self" rather than "me" for consistency

This commit is contained in:
Jeremy Ruston 2013-03-17 15:06:09 +00:00
parent 17a9cdd1e3
commit 8e6ce3733d

View File

@ -521,7 +521,7 @@ Options available:
*/
exports.search = function(text,options) {
options = options || {};
var me = this,t;
var self = this,t;
// Convert the search string into a regexp for each term
var terms, searchTermsRegExps,
flags = options.caseSensitive ? "" : "i";
@ -542,7 +542,7 @@ exports.search = function(text,options) {
}
// Function to check a given tiddler for the search term
var searchTiddler = function(title) {
var tiddler = me.getTiddler(title);
var tiddler = self.getTiddler(title);
if(!tiddler) {
return !!options.invert;
}