[Pkg-mozext-commits] [greasemonkey] 03/24: Update storageFront.js

David Prévot taffit at moszumanska.debian.org
Sat May 30 13:32:04 UTC 2015


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

taffit pushed a commit to branch master
in repository greasemonkey.

commit d0e006fd9ecaf3edc8b23f4b97188dc3378261a3
Author: janekptacijarabaci <janekptacijarabaci at users.noreply.github.com>
Date:   Sun May 17 10:33:06 2015 +0200

    Update storageFront.js
---
 modules/storageFront.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/storageFront.js b/modules/storageFront.js
index 4c59012..a0df06f 100644
--- a/modules/storageFront.js
+++ b/modules/storageFront.js
@@ -68,9 +68,8 @@ GM_ScriptStorageFront.prototype.getValue = function(name, defVal) {
     value = JSON.parse(value);
     // JSON (JavaScript Object Notation) is not designed for serializing
     // DOM Nodes. But maybe in the future...
-    value = Components.utils.cloneInto(value,
-            this._sandbox, { wrapReflectors: true });
-    return value;
+    return Components.utils.cloneInto(value,
+           this._sandbox, { wrapReflectors: true });
   } catch (e) {
     dump('JSON parse error? ' + uneval(e) + '\n');
     return defVal;

-- 
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