diff --git a/instance-1.1.1.min.js b/instance-1.1.1.min.js new file mode 100644 index 0000000..0f5269b --- /dev/null +++ b/instance-1.1.1.min.js @@ -0,0 +1,6 @@ +/*! + instance.js v1.1.1: A lightweight javascript library to model data on the client side + before sending it off to the server. + Created by @adammcarth under the MIT license +*/ +function validates_instance_presence(a,b){if(void 0===b||null===b||""===b||0===b||"0"===b)var c=!1;else var c=!0;return a===!0&&c===!0?!0:a===!1&&c===!1?!0:!1}function validates_instance_length(a,b){return b.length!==a?!1:!0}function validates_instance_max_length(a,b){return b.length>a?!1:!0}function validates_instance_min_length(a,b){return b.length