From 8e6ce3733df288cb9615c3ca3e99fd3e61392723 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 17 Mar 2013 15:06:09 +0000 Subject: [PATCH] Use "self" rather than "me" for consistency --- core/modules/wiki.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/wiki.js b/core/modules/wiki.js index 25558152d..71e29b2f7 100644 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -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; }