projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96c1bca
)
tests/tickets.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 29 Mar 2011 09:54:34 +0000
(17:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 29 Mar 2011 09:54:34 +0000
(17:54 +0800)
tests/tickets.js
patch
|
blob
|
history
diff --git
a/tests/tickets.js
b/tests/tickets.js
index
33c8fa7
..
3e7a714
100644
(file)
--- 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(
G
Lib.get_home_dir() + '.netrc').split(/\n/);
var t = this;
lines.forEach(function(l) {
if (!l.match(/^machine/)) {