             'pattern': '{{9999}}',
             'persistent': false
             }
+        ###
 
         cancelButton = (e) ->
             _helpers.removeModal()

        makePayment = (e) ->
            e.preventDefault()

            date = document.querySelector("[data-conekta-card-date]").value.split(" / ")

            month = date[0]
            year = date[1]
            card =
                number    : document.querySelector("[data-conekta-card-number]").value
                exp_year  : year
                exp_month : month
                cvc       : document.querySelector("[data-conekta-card-cvc]").value
                name      : document.querySelector("[data-conekta-card-name]").value


            unless Conekta.card.validateNumber(card.number) 

            wrapHtml.setAttribute("class", "c-modal")
            wrapHtml.innerHTML = _form
            document.body.appendChild wrapHtml
            return


    window.document.onkeydown = (e) -> 
        if !e 
            e = event   
        
        if e.keyCode == 27
            _helpers.removeModal()
            window.document.onkeydown = (e) ->
                if !e 
                    e = event 
                e
        return


    if arguments[0] == null
