UNPKG

can-validate-legacy

Version:

Validation plugin for CanJS that provides an abstraction layer to your validation library of choice (Shim may be required).

24 lines (22 loc) 647 B
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>can-validate Map Plugin Demo</title> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" rel="stylesheet"> <style> #app { width: 600px; margin: 0 auto; } </style> </head> <body> <div id="demo" class="container"> <h1>can.Map Validate Plugin Demo</h1> <p>The value <code>myVal</code> should be at least 6 characters long. The value <code>myNum</code> should just be a number greater than 5.</p> <script src="../../node_modules/steal/steal.js" main="can-validate-legacy/demo/map-demo/demo"></script> </div> </body> </html>