On Aug 5, 2012 4:02 PM, "alex diavatis" <alexis.diava...@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.

Florian
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to