[Pkg-mozext-commits] [wot] 59/226: Fixed names of scripts in the comments. Added "extra" directory to gitignore.
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository wot.
commit 2e36d78694111f9938f8936a96352ef3f1c60b62
Author: Sergey Andryukhin <sorgoz at yandex.com>
Date: Tue Dec 25 14:56:04 2012 +0200
Fixed names of scripts in the comments. Added "extra" directory to gitignore.
---
.gitignore | 1 +
content/injections/ga_configure.js | 2 +-
content/injections/ga_init.js | 2 +-
content/injections/surveys.widgets.js | 19 +++++++++++++++++++
content/injections/wot_proxy.js | 4 ++--
content/surveys.js | 8 ++------
6 files changed, 26 insertions(+), 10 deletions(-)
diff --git a/.gitignore b/.gitignore
index e3b3c35..29e8ae8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
patches
certs
install.rdf
+extra/
diff --git a/content/injections/ga_configure.js b/content/injections/ga_configure.js
index dbb66fb..237a53b 100644
--- a/content/injections/ga_configure.js
+++ b/content/injections/ga_configure.js
@@ -1,5 +1,5 @@
/*
- wot.js
+ ga_configure.js
Copyright © 2009 - 2012 WOT Services Oy <info at mywot.com>
This file is part of WOT.
diff --git a/content/injections/ga_init.js b/content/injections/ga_init.js
index 0e4d226..17d4de8 100644
--- a/content/injections/ga_init.js
+++ b/content/injections/ga_init.js
@@ -1,5 +1,5 @@
/*
- wot.js
+ ga_init.js
Copyright © 2009 - 2012 WOT Services Oy <info at mywot.com>
This file is part of WOT.
diff --git a/content/injections/surveys.widgets.js b/content/injections/surveys.widgets.js
index 4ccc653..1e4b086 100644
--- a/content/injections/surveys.widgets.js
+++ b/content/injections/surveys.widgets.js
@@ -1,3 +1,22 @@
+/*
+ surveys.widgets.js
+ Copyright © 2012 - WOT Services Oy <info at mywot.com>
+
+ This file is part of WOT.
+
+ WOT is free software: you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ WOT is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
+ License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with WOT. If not, see <http://www.gnu.org/licenses/>.
+ */
var surveys = {
diff --git a/content/injections/wot_proxy.js b/content/injections/wot_proxy.js
index 16d6e12..cee4a6c 100644
--- a/content/injections/wot_proxy.js
+++ b/content/injections/wot_proxy.js
@@ -1,5 +1,5 @@
/*
- wot.js
+ wot_proxy.js
Copyright © 2012 - WOT Services Oy <info at mywot.com>
This file is part of WOT.
@@ -24,7 +24,7 @@
* */
var wot = {
- version: "20121116",
+ version: "20121116", // TODO: init this value from the add-on core code
platform: "firefox",
debug: false, // when changing this, don't forget to switch ga_id value also!
default_component: 0,
diff --git a/content/surveys.js b/content/surveys.js
index ef98e90..47daa63 100644
--- a/content/surveys.js
+++ b/content/surveys.js
@@ -1,5 +1,5 @@
/*
- warning.js
+ surveys.js
Copyright © 2012 - WOT Services Oy <info at mywot.com>
This file is part of WOT.
@@ -22,7 +22,7 @@ var wot_surveys = {
fbl_form_schema: "//",
storage_file: "storage.json",
- fbl_form_uri: "fbl.local/feedback/surveys.html",
+ fbl_form_uri: "fbl.local/feedback/1/surveys.html",
re_fbl_uri: null,
wrapper_id: "wot_surveys_wrapper",
is_shown: false,
@@ -59,7 +59,6 @@ var wot_surveys = {
load_delayed: function ()
{
- dump("WOT feedback Loop is being initialized\n");
this.re_fbl_uri = new RegExp("^" + wot_surveys.fbl_form_uri, "i"); // prepare RegExp once to use often
try {
@@ -72,11 +71,8 @@ var wot_surveys = {
dump("wot_surveys.load_delayed raised the exeption:" + e + "\n");
}
- dump("WOT FBL: last_time_asked = " + this.last_time_asked + "\n");
-
// Load the JSON stored data about asked websites
wot_file.read_json(wot_surveys.storage_file, function (data, status) {
- dump("File is loaded? " + JSON.stringify(data) + "\n");
if (data && data.asked) {
wot_surveys.asked = data.asked;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git
More information about the Pkg-mozext-commits
mailing list