Comparing version 0.1.1 to 0.1.2
@@ -247,3 +247,3 @@ /*jslint indent:2, regexp:true*/ | ||
posicion_14_16, | ||
param.homonimia || param.fecha_nacimiento[2] > 1999 ? 'A' : 0 | ||
param.homonimia || (param.fecha_nacimiento[2] > 1999 ? 'A' : 0) | ||
].join(''); | ||
@@ -250,0 +250,0 @@ |
@@ -9,12 +9,18 @@ /*jslint node: true, indent:2*/ | ||
pkg : grunt.file.readJSON('package.json'), | ||
jshint : { | ||
all : ['package.json', 'bower.json', 'curp.js', 'Gruntfile.js'] | ||
jslint : { | ||
all : { | ||
src : ['package.json', 'bower.json', 'curp.js', 'Gruntfile.js'], | ||
directives : { | ||
indent : 2, | ||
node : true | ||
} | ||
} | ||
} | ||
}); | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks('grunt-jslint'); | ||
// Default task(s). | ||
grunt.registerTask('default', [ | ||
'jshint' | ||
'jslint' | ||
]); | ||
@@ -21,0 +27,0 @@ |
{ | ||
"name": "curp.js", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Función para generar el CURP, de acuerdo a las especificaciones oficiales.", | ||
@@ -25,4 +25,4 @@ "main": "curp.js", | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-jshint": "^0.10.0" | ||
"grunt-jslint": "^1.1.12" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11670
268