Is it possible to develop for Gnome Shell using Coffeescript?

2011-12-21 Thread Erlan Sergaziev
Does anyone have any experience, resources to consult? ___ gnome-shell-list mailing list gnome-shell-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-shell-list

Re: How do I watch a file for changes using JS/Gnome Shell?

2011-12-21 Thread Giovanni Campagna
Il giorno mer, 21/12/2011 alle 08.51 +0100, Stefano Ciancio ha scritto: Hi all, i have a configuration file written by a little python interface. I want to watch for changes of config file in gnome shell extension. Each time a change occurs I'd like to reload new data in my extension.

Re: How do I watch a file for changes using JS/Gnome Shell?

2011-12-21 Thread Giovanni Campagna
Il giorno mer, 21/12/2011 alle 11.25 +0100, Stefano Ciancio ha scritto: I am testing with success GFileMonitor with python, but I have some difficult with javascript. Have you some example or link from which start? No real world example, but should be as easy as file =

Re: Is it possible to develop for Gnome Shell using Coffeescript?

2011-12-21 Thread Tim Cuthbertson
I've used coffeescript for some of my extension (shellshape). You wouldn't be able to use stuff like the `let` keyword, and you have to compile in --bare mode to prevent it from being wrapped in an anonymous function, but other than that it's pretty simple. Oh, and you get bucketloads of warnings