-Clint
TiddlyWiki.prototype._reverseLookup =
TiddlyWiki.prototype.reverseLookup;
TiddlyWiki.prototype.reverseLookup =
function(lookupField,lookupValue,lookupMatch,sortField) {
// ...
// Call the old implementation
results =
this._reverseLookup(lookupField,lookupValue,lookupMatch,sortField)
// ... do something with results (or not)
}
If that doesn't work, you might try using the JavaScript call() method:
store.reverseLookup =
function(lookupField,lookupValue,lookupMatch,sortField) {
// ...
// Call the old implementation
TiddlyWiki.prototype.reverseLookup.call(this,lookupField,lookupValue,lookupMatch,sortField)
// ...
}
anti-offtopic: the hyperlinking style I used here is from [markdown]
[2]. I find some bits of markdown (backticks for code, reference style
hyperlinking like above and ![images like this] [3]) very nice and
consider adding a plugin for them (maybe based on [js-markdown] [4] if
the site comes back up)
[1]: http://www.artm.org/?p=18 "AdSense on artm.org"
[2]: http://daringfireball.net/projects/markdown "Markdown: a
text-to-HTML conversion tool for web writers. "
[3]: http://www.flickr.com/photo_zoom.gne?id=42258050&size=o "full
resolution screenshot of the AdSence weirdness"
[4]: rephrase.net/box/js-markdown/ "JavaScript implemenation of a
subset of markdown syntax"