fixed repo url in package.json

This commit is contained in:
Valentina Vandro 2018-10-04 22:22:01 +02:00
parent d32c8c43ab
commit cf50ad76c1
2 changed files with 14 additions and 13 deletions

View File

@ -9,20 +9,21 @@
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<script src="../build/src/codicefiscale.js"></script>
<script src="../dist/codice.fiscale.var.js"></script>
</head>
<body>
<form action="">
<input type="text" name="name" id="name" placeholder="name"><br>
<input type="text" name="surname" id="surname" placeholder="surname"><br>
Gender <label><input type="radio" name="geneder" value="M">M</label>
<label><input type="radio" name="geneder" value="F">F</label><br>
<label>Birthday</label>
<input type="number" name="day" id="" min="1" max="31" placeholder="day">
<input type="number" name="month" id="" min="1" max="12" placeholder="month">
<input type="number" name="year" id="" min="1900" max="2018" placeholder="year"><br>
<input type="text" name="birthplace" id="birthplace" placeholder="birthplace"><br>
<button type="submit">Compute</button>
<input type="text" name="cf" id="cf" placeholder="name"><br>
</form>
<pre></pre>
<script>
$(function(){
$("#cf").change(function(){
var cf = new CodiceFiscale($(this).val());
$('pre').text(cf.toJSON());
});
})
</script>
</body>
</html>

View File

@ -1,12 +1,12 @@
{
"name": "codice-fiscale-js",
"version": "2.0.0",
"version": "2.0.1",
"description": "CodiceFiscale.js is a utility library to compute and validate Italian Tax code (codice fiscale).",
"main": "dist/codice.fiscale.umd.js",
"types": "types/main.d.ts",
"repository": {
"type": "git",
"url": "git://github.com/marcopesani/CodiceFiscaleJS.git"
"url": "git://github.com/lucavandro/CodiceFiscaleJS.git"
},
"directories": {
"test": "test"