examples: add modem watcher example in JS

This commit is contained in:
Aleksander Morgado
2014-04-11 10:31:02 +02:00
parent ebff76cfaa
commit ae99c452eb
7 changed files with 149 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
const Mainloop = imports.mainloop;
const GLib = imports.gi.GLib;
const modemWatcher = imports.modemWatcher;
function start() {
let watcher = new modemWatcher.ModemWatcher();
Mainloop.run();
}