Hi Eyal,
They are there just as a debugging convenience for when you are using the console.
This is definitely not something anyone should rely on and for the release I will at very least prefix the names with "_" to indicate they are private.
If I do remove them you can get to them with something like ,,,
require("orion/bootstrap").startup().then(function(result) { window._pluginRegistry = result.pluginRegistry; window._serviceRegistry = result.serviceRegistry; });
-Simon
"Kobrigo, Eyal" ---06/17/2013 10:53:39 AM---Hi all, I've been looking into the bootstrapping of each page in bootstrap.js and noticed that the s
![]()
| ![]()
"Kobrigo, Eyal" <eyal.kobrigo@xxxxxx> |
![]()
| ![]()
Orion developer discussions <orion-dev@xxxxxxxxxxx>, |
![]()
| ![]()
06/17/2013 10:53 AM |
![]()
| ![]()
[orion-dev] serviceRegistry and the pluginRegistry on the main window |
![]()
| ![]()
orion-dev-bounces@xxxxxxxxxxx |
Hi all,
I've been looking into the bootstrapping of each page in bootstrap.js and noticed that the serviceRegistry and the pluginRegistry both hang themselves on the main window... is there a reason for that?
Thanks
![cid:image010.png@01CBE890.BFEE9610]() | Eyal Kobrigo, Eyal.Kobrigo@xxxxxx
Application Specialist Dev Engineer. LoadRunner R&D.
Mobile: +972-50-7893277 Ÿ Office: +972-3-5399785
5 Altalef Street, POB 170, Yehud 56100 ISRAEL |
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev
|