Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] serviceRegistry and the pluginRegistry on the main window

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

Inactive hide details for "Kobrigo, Eyal" ---06/17/2013 10:53:39 AM---Hi all, I've been looking into the bootstrapping of each "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


    From:

"Kobrigo, Eyal" <eyal.kobrigo@xxxxxx>

    To:

Orion developer discussions <orion-dev@xxxxxxxxxxx>,

    Date:

06/17/2013 10:53 AM

    Subject:

[orion-dev] serviceRegistry and the pluginRegistry on the main window

    Sent by:

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.BFEE9610Eyal 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


GIF image

GIF image

GIF image


Back to the top