Re: Importing custom modules in Gjs
- From: alex diavatis <alexis diavatis gmail com>
- 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 18:21:35 +0300
On Sun, Aug 5, 2012 at 6:18 PM, 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.
I guess is stupid question, but I can't find anything relative to that on Google :(
Thank you for the help
Florian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]