Permalink
Browse files

Formatting fixes in strophe.js and base64.js

  • Loading branch information...
1 parent 06d407d commit d89da269ab37e31175debf1e90208fcde59816ec @dhruvbird committed Jun 20, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 strophe/base64.js
  2. +3 −3 strophe/strophe.js
View
@@ -50,7 +50,7 @@ var Base64 = (function () {
var i = 0;
// remove all characters that are not A-Z, a-z, 0-9, +, /, or =
- input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
+ input = input.replace(/[^A-Za-z0-9\+\/\=]/g, '');
do {
enc1 = keyStr.indexOf(input.charAt(i++));
View
@@ -65,10 +65,10 @@ var jsdom = require("jsdom").jsdom;
document = jsdom("<html><head></head><body></body></html>"),
window = {
- XMLHttpRequest: XMLHttpRequest,
+ XMLHttpRequest: XMLHttpRequest,
Base64: Base64,
- MD5: MD5
-}
+ MD5: MD5
+};
exports.Strophe = window;

0 comments on commit d89da26

Please sign in to comment.