This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Configuração do atom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Função para validar CNPJ usando bootstrapvalidator | |
* Baseado na função para validação de CPF encontrada em: | |
* https://github.com/nghuuphuoc/bootstrapvalidator/issues/187 | |
* usando a implementação da validação para CNPJ encontrada em: | |
* http://www.fernandowobeto.com/blog/plugin-jquery-validacao-cnpj/ | |
* | |
*/ | |
(function(e) { | |
e.fn.bootstrapValidator.validators.cnpjVal = { |