Skip to content

Create some pure validation functions #35

@mantagen

Description

@mantagen

https://github.com/FACG2/Blog/blob/master/public/js/sign_up.js

Eg.

var validationFuncs = {
  email: (value) => value.match(/..../)
}

here aswell you can do this...
https://github.com/FACG2/Blog/blob/master/src/handlers/post.js#L54

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions