Ticket #443 (closed defect: wontfix)
context of eval() within loadPlugins()
| Reported by: | FND | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | minor | Milestone: | never |
| Component: | core | Version: | |
| Severity: | medium | Keywords: | |
| Cc: |
Description
As described here by Liyang, Safari ignores the restricted context of eval() within loadPlugins().
Suggested solutions:
- passing the restricted context as second parameter to the global eval() function (cf. Mozilla Developer Center):
eval(tiddler.text, window);
- using an anonymous function:
(function() { eval(tiddler.text); })();
Change History
Note: See
TracTickets for help on using
tickets.
