<commit_before><!doctype html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  <head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>ng-cpf-cnpj</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <style type="text/css">

        body {
            font-family: 'Helvetica Neue', Helvetica, Verdana;
            font-size: 16px;
        }

        div {
            margin: 30px 0;
        }

    </style>

</head>
  <body ng-app="myApp">

    <h1>ng-cpf-cnpj</h1>

    <form name="myForm">

        <div>
            CPF: <input name="cpf" ng-model="cpf" ui-mask="999.999.999-99" ng-cpf /><br/>
            <small>myForm.cpf.$valid: {{ myForm.cpf.$valid }}</small>
        </div>

        <div>
            CNPJ: <input name="cnpj" ng-model="cnpj" ui-mask="99.999.999/9999-99" ng-cnpj /><br/>
            <small>myForm.cnpj.$valid: {{ myForm.cnpj.$valid }}</small>
        </div>
<commit_msg>Changing example to test required attribute.<commit_after><!doctype html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  <head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>ng-cpf-cnpj</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <style type="text/css">

        body {
            font-family: 'Helvetica Neue', Helvetica, Verdana;
            font-size: 16px;
        }

        div {
            margin: 30px 0;
        }

    </style>

</head>
  <body ng-app="myApp">

    <h1>ng-cpf-cnpj</h1>

    <form name="myForm">

        <div>
            CPF: <input name="requiredCpf" ng-model="requiredCpf" ui-mask="999.999.999-99" ng-cpf required /> <small>(Required)</small><br/>
            <small>myForm.requiredCpf.$valid: <strong>{{ myForm.requiredCpf.$valid }}</strong></small>
        </div>

        <div>
            CPF: <input name="cpf" ng-model="cpf" ui-mask="999.999.999-99" ng-cpf /><br/>
            <small>myForm.cpf.$valid: <strong>{{ myForm.cpf.$valid }}</strong></small>
        </div>

        <div>
            CNPJ: <input name="requiredCnpj" ng-model="requiredCnpj" ui-mask="99.999.999/9999-99" ng-cnpj required /> <small>(Required)</small><br/>
            <small>myForm.requiredCnpj.$valid: <strong>{{ myForm.requiredCnpj.$valid }}</strong></small>
        </div>

        <div>
            CNPJ: <input name="cnpj" ng-model="cnpj" ui-mask="99.999.999/9999-99" ng-cnpj /><br/>
            <small>myForm.cnpj.$valid: <strong>{{ myForm.cnpj.$valid }}</strong></small>
        </div>

{'fraction_non_alphanumeric': 0.2207163601161665, 'fraction_numerical': 0.03646337528234914, 'mean_word_length': 2.297872340425532, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 107, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4477911', 'n_tokens_mistral': 1271, 'n_tokens_neox': 1150, 'n_words': 219}