[Pkg-mozext-commits] [greasemonkey] 16/45: Use syntax that doesn't confuse my IDE (Eclipse/JsDev).

David Prévot taffit at moszumanska.debian.org
Mon Nov 3 20:59:19 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository greasemonkey.

commit d4f1f9387979fe43991e63ec5a2ed191b19f5421
Author: Anthony Lieuallen <arantius at gmail.com>
Date:   Thu Oct 2 10:45:52 2014 -0400

    Use syntax that doesn't confuse my IDE (Eclipse/JsDev).
---
 modules/sandbox.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/sandbox.js b/modules/sandbox.js
index 060aacc..9fb6474 100644
--- a/modules/sandbox.js
+++ b/modules/sandbox.js
@@ -1,6 +1,8 @@
 const EXPORTED_SYMBOLS = ['createSandbox', 'runScriptInSandbox'];
 
-let {utils: Cu, interfaces: Ci, classes: Cc} = Components;
+var Cu = Components.utils;
+var Ci = Components.interfaces;
+var Cc = Components.classes;
 
 Cu.import('resource://greasemonkey/GM_setClipboard.js');
 Cu.import("resource://greasemonkey/menucommand.js");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git



More information about the Pkg-mozext-commits mailing list