projects
/
gssweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c69d92
)
Wrapping overly-long lines
author
Mark Donnelly
<mark@painless-security.com>
Tue, 21 Oct 2014 02:32:06 +0000
(22:32 -0400)
committer
Mark Donnelly
<mark@painless-security.com>
Tue, 21 Oct 2014 02:32:06 +0000
(22:32 -0400)
chrome/app/navigator.gss.js
patch
|
blob
|
history
diff --git
a/chrome/app/navigator.gss.js
b/chrome/app/navigator.gss.js
index
bde6ecf
..
674dd38
100644
(file)
--- a/
chrome/app/navigator.gss.js
+++ b/
chrome/app/navigator.gss.js
@@
-14,10
+14,14
@@
var GSSEap = (function ()
this.methods = {};
this.errors = {};
this.appTag = config.appTag || "";
this.methods = {};
this.errors = {};
this.appTag = config.appTag || "";
- this.default_error = config.error || function (major, minor, error, appTag) {
- console.warn(error);
- };
- window.addEventListener("message", this.dispatch_responses.bind(this));
+ this.default_error = config.error ||
+ function (major, minor, error, appTag) {
+ console.warn(error);
+ };
+ window.addEventListener(
+ "message",
+ this.dispatch_responses.bind(this)
+ );
}
GSSEap.prototype.dispatch_responses = function (event)
{
}
GSSEap.prototype.dispatch_responses = function (event)
{
@@
-32,9
+36,11
@@
var GSSEap = (function ()
* object
* - data.return_values exists
* - data.cookies exists
* object
* - data.return_values exists
* - data.cookies exists
- * - One of my callbacks matches the nonce in data.cookies.navigator_gss_tag
- * - One of my methods matches the nonce in data.cookies.navigator_gss_tag
- * and that method matches data.method
+ * - One of my callbacks matches the nonce in
+ * data.cookies.navigator_gss_tag
+ * - One of my methods matches the nonce in
+ * data.cookies.navigator_gss_tag and that method matches
+ * data.method
*/
method = event.data.method;
if (
*/
method = event.data.method;
if (
@@
-48,7
+54,8
@@
var GSSEap = (function ()
nonce = event.data.cookies.navigator_gss_tag;
event.data.cookies.navigator_gss_tag = undefined;
callback = this.callbacks[nonce];
nonce = event.data.cookies.navigator_gss_tag;
event.data.cookies.navigator_gss_tag = undefined;
callback = this.callbacks[nonce];
- if ("undefined" == typeof (callback) || this.methods[nonce] != method) {
+ if ("undefined" == typeof (callback) ||
+ this.methods[nonce] != method) {
return;
}
return;
}