From: Alan Knowles Date: Tue, 29 Mar 2011 09:54:34 +0000 (+0800) Subject: tests/tickets.js X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=db82744cef368da2cb3010767222672bdd0a9b62 tests/tickets.js --- diff --git a/tests/tickets.js b/tests/tickets.js index 33c8fa7b..3e7a714e 100644 --- a/tests/tickets.js +++ b/tests/tickets.js @@ -3,6 +3,10 @@ * let's see if we can pull a list of tickets from the tracker.. * */ +GLib = imports.gi.GLib; + + + File = imports['../File.js']; Tickets = { @@ -11,7 +15,7 @@ Tickets = { { this.machines = {}; // very basic parsing - only support single line version.. - var lines = File.read(Lib.get_home_dir() + '.netrc').split(/\n/); + var lines = File.read(GLib.get_home_dir() + '.netrc').split(/\n/); var t = this; lines.forEach(function(l) { if (!l.match(/^machine/)) {