diff --git a/assets/javascripts/discourse/components/donation-form.js.es6 b/assets/javascripts/discourse/components/donation-form.js.es6 index 6999995..0847831 100644 --- a/assets/javascripts/discourse/components/donation-form.js.es6 +++ b/assets/javascripts/discourse/components/donation-form.js.es6 @@ -34,7 +34,7 @@ export default Ember.Component.extend({ this.set('paymentError', paymentIntent.error); } else { - console.log('ok done'); + // console.log('ok done'); } }); }, diff --git a/assets/javascripts/discourse/controllers/patrons.js.es6 b/assets/javascripts/discourse/controllers/patrons.js.es6 index cea987b..6dc6109 100644 --- a/assets/javascripts/discourse/controllers/patrons.js.es6 +++ b/assets/javascripts/discourse/controllers/patrons.js.es6 @@ -1,4 +1,3 @@ -import { ajax } from "discourse/lib/ajax"; export default Ember.Controller.extend({ diff --git a/test/javascripts/components/stripe-card-test.js.es6 b/test/javascripts/components/stripe-card-test.js.es6 index c36a45b..62bc6a1 100644 --- a/test/javascripts/components/stripe-card-test.js.es6 +++ b/test/javascripts/components/stripe-card-test.js.es6 @@ -31,7 +31,7 @@ componentTest("Discourse Patrons stripe card success", { async test(assert) { assert.expect(1); - this.set("onSubmit", (arg) => { + this.set("onSubmit", () => { assert.ok(true, "payment method created"); });