Merge branch 'currency_format' into staging

This commit is contained in:
Rimian Perkins 2017-03-13 11:19:31 +11:00
commit d92ba3f8cd
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ export default Ember.Component.extend({
},
card: function() {
var elements = this.get('stripe').elements();
let elements = this.get('stripe').elements();
return elements.create('card', {
hidePostalCode: this.get('settings').discourse_donations_hide_zip_code
});
@ -36,7 +36,7 @@ export default Ember.Component.extend({
actions: {
submitStripeCard() {
var self = this;
let self = this;
this.get('stripe').createToken(this.get('card')).then(data => {
@ -48,7 +48,7 @@ export default Ember.Component.extend({
else {
self.set('transactionInProgress', true);
var params = {
let params = {
stripeToken: data.token.id,
amount: self.get('amount') * 100
};

View File

@ -1,6 +1,6 @@
plugins:
discourse_donations_enabled:
default: true
default: false
client: true
discourse_donations_secret_key:
client: false