Sha256: 6cda6d1788b94390e2f277a1080a4d5549880bb1f8706854b5a3e20d1c4031d1

Contents?: true

Size: 1.89 KB

Versions: 8

Compression:

Stored size: 1.89 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"validation_sync.js;FI"
pathname;TI"c/Users/nathanhackley/code/validation_sync/app/assets/javascripts/validation_sync.js.coffee.erb;FI"content_type;TI"application/javascript;TI"
mtime;Tl+åùRI"length;Ti·I"digest;TI"%ea391b23c2351f5317b48ad56add7a5a;FI"source;TI"·(function() {
  jQuery(function() {
    alert("yeah!");
    $("#new_post, #edit_post").validate({
      rules: {
        "post[title]": "required",
        lastname: "required",
        username: {
          required: true,
          minlength: 2,
          maxlength: 4
        },
        password: {
          required: true,
          minlength: 5
        },
        confirm_password: {
          required: true,
          minlength: 5,
          equalTo: "#password"
        },
        email: {
          required: true,
          email: true
        },
        topic: {
          required: "#newsletter:checked",
          minlength: 2
        },
        agree: "required"
      },
      messages: {
        firstname: "Please enter your firstname",
        lastname: "Please enter your lastname",
        username: {
          required: "Please enter a username",
          minlength: "Your username must consist of at least 2 characters"
        },
        password: {
          required: "Please provide a password",
          minlength: "Your password must be at least 5 characters long"
        },
        confirm_password: {
          required: "Please provide a password",
          minlength: "Your password must be at least 5 characters long",
          equalTo: "Please enter the same password as above"
        },
        email: "Please enter a valid email address",
        agree: "Please accept our policy"
      }
    });
  });

}).call(this);
;TI"required_assets_digest;TI"%cbb03b020d303be6c435fe95a5bb9178;FI"
_version;TI"%01dc9d4cb5b0ece13ed47cc1cabfeb41;F

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
validation_sync-0.0.5 spec/dummy/tmp/cache/assets/development/sprockets/0f53e3491015320ad54b7352dd6e9245
validation_sync-0.0.5 spec/dummy/tmp/cache/assets/development/sprockets/43b02dba04222f7470018fdda830925e
validation_sync-0.0.4 spec/dummy/tmp/cache/assets/development/sprockets/0f53e3491015320ad54b7352dd6e9245
validation_sync-0.0.4 spec/dummy/tmp/cache/assets/development/sprockets/43b02dba04222f7470018fdda830925e
validation_sync-0.0.3 spec/dummy/tmp/cache/assets/development/sprockets/0f53e3491015320ad54b7352dd6e9245
validation_sync-0.0.3 spec/dummy/tmp/cache/assets/development/sprockets/43b02dba04222f7470018fdda830925e
validation_sync-0.0.2 spec/dummy/tmp/cache/assets/development/sprockets/0f53e3491015320ad54b7352dd6e9245
validation_sync-0.0.2 spec/dummy/tmp/cache/assets/development/sprockets/43b02dba04222f7470018fdda830925e