[Pkg-mozext-commits] [adblock-plus] 299/464: Provide access to the File object
David Prévot
taffit at moszumanska.debian.org
Tue Jul 22 20:44:27 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit 7ced2cbfd472b0c96962cf48b5376414e8b4a673
Author: Felix H. Dahlke <fhd at ubercode.de>
Date: Tue Sep 25 17:09:04 2012 +0200
Provide access to the File object
---
bootstrap.js.tmpl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bootstrap.js.tmpl b/bootstrap.js.tmpl
index 839fbdb..6e5a2e6 100644
--- a/bootstrap.js.tmpl
+++ b/bootstrap.js.tmpl
@@ -9,7 +9,7 @@ const Ci = Components.interfaces;
const Cr = Components.results;
const Cu = Components.utils;
-let {Services, atob, btoa} = Cu.import("resource://gre/modules/Services.jsm", null);
+let {Services, atob, btoa, File} = Cu.import("resource://gre/modules/Services.jsm", null);
let addonData = null;
@@ -149,6 +149,7 @@ function require(module)
Cu: Cu,
atob: atob,
btoa: btoa,
+ File: File,
require: require,
{% if hasShutdownHandlers %}
onShutdown: onShutdown,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list