aboutsummaryrefslogtreecommitdiffstats
path: root/lib/prompts.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2010-09-25 23:14:00 +0200
committerMatěj Cepl <mcepl@redhat.com>2010-09-25 23:14:00 +0200
commitb1eb91d2068b2ea4b983977412821d4fa9640e4e (patch)
tree3eb3e0da57fc5b290d435353331ce8b188756b4e /lib/prompts.js
parentfcafe9d584797044fc24be1b3fb67da284e0cf17 (diff)
downloadbugzilla-triage-b1eb91d2068b2ea4b983977412821d4fa9640e4e.tar.gz
Massive reformatting to make Eclipse happy
Diffstat (limited to 'lib/prompts.js')
-rw-r--r--lib/prompts.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/prompts.js b/lib/prompts.js
index bb42c39..45f388a 100644
--- a/lib/prompts.js
+++ b/lib/prompts.js
@@ -4,7 +4,8 @@
// http://www.opensource.org/licenses/mit-license.php
"use strict";
// ==============================================================
-var {Cc,Ci} = require("chrome");
+var Cc = require("chrome").Cc;
+var Ci = require("chrome").Ci;
// just for JSLINT var Cc, Ci = {};
var promptTitle = "Bugzilla Triage Script";
@@ -106,7 +107,7 @@ exports.promptFileOpenPicker = function promptFilePicker (win) {
if (res === Ci.nsIFilePicker.returnOK ||
res === Ci.nsIFilePicker.returnReplace ) {
- return fp.file.path
+ return fp.file.path;
}
return null;
};