summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-03-15 18:19:11 (EDT)
committer P. J. McDermott <pj@pehjota.net>2015-03-15 18:19:11 (EDT)
commit1bc38897ec440bc607c36767eafa15d0f1af1d6c (patch)
tree3fcc2d8eac925e44e33f79816d021342e9241195
parentd47420d9df40c14a1e6cf934c3093d08f498d3f1 (diff)
downloadepirts.js-1bc38897ec440bc607c36767eafa15d0f1af1d6c.zip
epirts.js-1bc38897ec440bc607c36767eafa15d0f1af1d6c.tar.gz
epirts.js-1bc38897ec440bc607c36767eafa15d0f1af1d6c.tar.bz2
Epirts.setPublishableKey(): Implement
-rw-r--r--epirts.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/epirts.js b/epirts.js
index fc6d0a1..4bdfbfc 100644
--- a/epirts.js
+++ b/epirts.js
@@ -33,6 +33,7 @@
var Stripe = Epirts = (function() {
var pub = {};
+ var _key = undefined;
pub.card = (function() {
var pub = {};
@@ -56,6 +57,7 @@ var Stripe = Epirts = (function() {
}());
pub.setPublishableKey = function(key) {
+ _key = key;
};
return pub;