Re: Ci, Cr, Cc, and Cu are now automatically defined in all chrome scopes

2018-02-02 Thread Eric Shepherd (Sheppy)
That's... brilliant. How did it take this many years for that to come up? :)

Sheppy

On Thu, Feb 1, 2018 at 5:11 PM, Andrew McCreight 
wrote:

> Bug 767640 just merged to mozilla-central. This patch makes it so that Ci,
> Cr, Cc, and Cu are automatically defined in any chrome scope that has a
> Components object. Rejoice, because you no longer need to add "var Ci =
> Components.interfaces" into every file.
>
> I have a followup bug, bug 1432992, that removes almost all of the existing
> definitions of these variables.
>
> Andrew
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>



-- 

Eric Shepherd
Senior Technical Writer
Mozilla
Blog: http://www.bitstampede.com/
Twitter: http://twitter.com/sheppy
Check my Availability 
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Ci, Cr, Cc, and Cu are now automatically defined in all chrome scopes

2018-02-02 Thread Ted Mielczarek
On Thu, Feb 1, 2018, at 5:11 PM, Andrew McCreight wrote:
> Bug 767640 just merged to mozilla-central. This patch makes it so that Ci,
> Cr, Cc, and Cu are automatically defined in any chrome scope that has a
> Components object. Rejoice, because you no longer need to add "var Ci =
> Components.interfaces" into every file.
> 
> I have a followup bug, bug 1432992, that removes almost all of the existing
> definitions of these variables.

Nice! I can't believe it took this long for someone to realize this was a good 
idea. :)

-Ted
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Ci, Cr, Cc, and Cu are now automatically defined in all chrome scopes

2018-02-01 Thread Andrew McCreight
Bug 767640 just merged to mozilla-central. This patch makes it so that Ci,
Cr, Cc, and Cu are automatically defined in any chrome scope that has a
Components object. Rejoice, because you no longer need to add "var Ci =
Components.interfaces" into every file.

I have a followup bug, bug 1432992, that removes almost all of the existing
definitions of these variables.

Andrew
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform