[Pkg-mozext-commits] [greasemonkey] 16/41: Update ipcscript.js

David Prévot taffit at moszumanska.debian.org
Thu Apr 30 22:06:33 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 2750610e46791d1ef0abb881cd0db837642291e8
Author: janekptacijarabaci <janekptacijarabaci at users.noreply.github.com>
Date:   Tue Mar 31 13:06:04 2015 +0200

    Update ipcscript.js
---
 modules/ipcscript.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/modules/ipcscript.js b/modules/ipcscript.js
index bbdd5f0..6685184 100644
--- a/modules/ipcscript.js
+++ b/modules/ipcscript.js
@@ -3,7 +3,8 @@ var EXPORTED_SYMBOLS = ['IPCScript'];
 Components.utils.import("resource://greasemonkey/extractMeta.js");
 Components.utils.import("resource://greasemonkey/util.js");
 
-function IPCScript(aScript) {
+function IPCScript(aScript, addonVersion) {
+  this.addonVersion = addonVersion;
   this.description = aScript.description;
   this.excludes = aScript.excludes;
   this.fileURL = aScript.fileURL;
@@ -58,12 +59,12 @@ IPCScript.prototype.info = function() {
 
   return {
     'uuid': this.uuid,
-    'version': "unknown", // TODO
+    'version': this.addonVersion,
     'scriptMetaStr': this.metaStr,
     'scriptSource': this.textContent,
     'scriptWillUpdate': this.willUpdate,
     'script': {
-      'description': this.desciption,
+      'description': this.description,
       'excludes': this.excludes,
       // 'icon': ??? source URL?
       'includes': this.includes,

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