> not just 'eval'... custom macro handlers, toolbar handlers, hijacks,
> etc... can also get invoked within the scope of a locally-declared $
> (...) alias

I don't believe this is correct - please take a look at this test case:
     http://fnd.lewcid.org/tmp/alias_scope.html

It boils down to the following:
---------------
var $ = "lorem ipsum";
var foo;

(function($) {

foo = function() {
     console.log(typeof $); // prints "function", referencing jQuery
};

// hijack
foo_orig = foo;
foo = function() {
     foo_orig.apply(this, arguments);
     console.log(typeof $); // prints "string", referencing custom $
};

foo(); // prints both "function" and "string"
---------------

Am I missing something?


-- F.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to