Permalink
Browse files

Be more careful not to clobber the mozmarket namespace

  • Loading branch information...
1 parent 0a6a216 commit 20f4124c879b07b65f05d5c4a2280faf453d48b7 @ianb ianb committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 receiptverifier.js
View
@@ -570,4 +570,4 @@ exports.verifyReceipts = function verifyReceipt(callback, options) {
verifier.verify(callback);
};
-})(typeof exports == "undefined" ? (this.mozmarket = {}) : exports);
+})(typeof exports == "undefined" ? (this.mozmarket ? this.mozmarket : this.mozmarket = {}) : exports);

0 comments on commit 20f4124

Please sign in to comment.