epicodus/epicenter

View on GitHub
app/assets/javascripts/credit_cards.js

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Function stripeResponseHandler has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var stripeResponseHandler = function(status, response) {
if (status === 200) {
$("input#card_number").val('****************');
$("input#cvc_code").val('***');
$("input#expiration_month").val('**');
Severity: Minor
Found in app/assets/javascripts/credit_cards.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status