Re: Importing custom modules in Gjs
- From: "Jasper St. Pierre" <jstpierre mecheye net>
- To: Florian Müllner <fmuellner gnome org>
- Cc: gnome-shell-list <gnome-shell-list gnome org>
- Subject: Re: Importing custom modules in Gjs
- Date: Sun, 5 Aug 2012 11:22:29 -0400
On Sun, Aug 5, 2012 at 11:18 AM, Florian Müllner <fmuellner gnome org> wrote:
>
> On Aug 5, 2012 4:02 PM, "alex diavatis" <alexis diavatis gmail com> wrote:
>> let black_c = new Clutter.Color( {red:0, blue:0, green:0, alpha:255} );
>>
>> and I cannot find a way to call this variable from my main.js file.
>
> Variables declared with "let" are limited in scope; use "var" or "const" if
> you want to access it from a different module.
He.... did?
> Florian
>
>
> _______________________________________________
> gnome-shell-list mailing list
> gnome-shell-list gnome org
> https://mail.gnome.org/mailman/listinfo/gnome-shell-list
>
--
Jasper
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]