diff --git a/LICENSE b/LICENSE index c0f378e..1d62568 100644 --- a/LICENSE +++ b/LICENSE @@ -4,7 +4,7 @@ The text of this license is provided below: MIT License ----------- -Copyright (C) 2011 - 2013 by Rick Harrison, http://rickharrison.me +Copyright (C) 2011 - 2014 by Rick Harrison, http://rickharrison.me Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/bower.json b/bower.json index fa43373..759e2e2 100644 --- a/bower.json +++ b/bower.json @@ -1,5 +1,5 @@ { - "name": "validate", + "name": "validate.js", "version": "1.3.1", "main": "validate.js" } diff --git a/validate.js b/validate.js index 20648d7..be82c1b 100755 --- a/validate.js +++ b/validate.js @@ -1,6 +1,6 @@ /* * validate.js 1.3.1 - * Copyright (c) 2011 Rick Harrison, http://rickharrison.me + * Copyright (c) 2011 - 2014 Rick Harrison, http://rickharrison.me * validate.js is open sourced under the MIT license. * Portions of validate.js are inspired by CodeIgniter. * http://rickharrison.github.com/validate.js @@ -269,7 +269,7 @@ method = parts[1]; param = parts[2]; } - + if (method.charAt(0) === '!') { method = method.substring(1, method.length); } @@ -338,7 +338,7 @@ return (value !== null && value !== ''); }, - + "default": function(field, defaultName){ return field.value !== defaultName; },