{"size": 899, "ext": "js", "max_stars_repo_path": "js/custom.js", "max_stars_repo_name": "WallaceRamos/WR_pagina", "max_stars_repo_stars_event_min_datetime": "2018-12-29T14:04:38.000Z", "max_stars_repo_stars_event_max_datetime": "2018-12-29T14:04:38.000Z", "max_issues_repo_path": "js/custom.js", "max_issues_repo_name": "WallaceRamos/WallaceRamos", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/custom.js", "max_forks_repo_name": "WallaceRamos/WallaceRamos", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.4318181818, "max_line_length": 72, "alphanum_fraction": 0.5461624027}
$(document).ready(function(){
	$('#celular').mask('(00) 0000-00009');
	$('#celular').blur(function(event){
		if ($(this).val().length == 15){
			$('#celular').mask('(00) 00000-0009');
		}else{
			$('#celular').mask('(00) 0000-00009');
		}
	})
	jQuery.validator.addMethod("hashtagNoInicio",function(value, element){
		if (value.indexOf("#") == 0){
			return true
		}else{
			return false
		}
	},"Por favor, forneça a hashtag com # no início.")
	$("#formCadastro").validate({
		rules:{
			nome:{
				required: true,
				maxlength: 100,
				minlength: 10
			},
			email:{
				required: true,
				email: true
			},
			hashtag:{
				hashtagNoInicio: true
			},
			mensagem:{
				maxlength: 200
			}
		},
		submitHandler: function confirmacao(){
			$.notify({
				message: 'Pedido enviado com sucesso' 
			},{
				type: 'success'
			})
			return false
		}
	})
})