From: Alan Knowles Date: Wed, 23 May 2012 15:18:27 +0000 (+0800) Subject: tests/soup.js X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=9ec22cb7b0d7ec5eb382777812628a3fcf7e08fd tests/soup.js --- diff --git a/tests/soup.js b/tests/soup.js index 47744f8c..0348ce3c 100644 --- a/tests/soup.js +++ b/tests/soup.js @@ -8,10 +8,10 @@ File = imports['../File.js'].File; var netrc = File.read(GLib.get_home_dir() + "/.netrc"); var lines = []; -netrc.split("\n").foreach(function(nl) { +netrc.split("\n").forEach(function(nl) { var line = {}; var k = false; - nl.split(/\s+/).foreach(function(kv) { + nl.split(/\s+/).forEach(function(kv) { if (!k) { k = kv; return