aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorMisko Hevery2010-04-07 10:29:47 -0700
committerMisko Hevery2010-04-07 10:29:47 -0700
commit82cb18db28ea7381e5168489207bfa23c059af0c (patch)
treeb4710ab1c2c0593ca9228cbb67495846d72d696e /example
parent0df93fd49c1687b2eddaa79faa1c0adbef82bf72 (diff)
parentee327a1f4f75f57c2a2c6166520c092d4942ffe0 (diff)
downloadangular.js-82cb18db28ea7381e5168489207bfa23c059af0c.tar.bz2
Merge branch 'directives' of github.com:angular/angular.js into directives
Diffstat (limited to 'example')
-rw-r--r--example/widgets.html34
1 files changed, 0 insertions, 34 deletions
diff --git a/example/widgets.html b/example/widgets.html
deleted file mode 100644
index 525b35b9..00000000
--- a/example/widgets.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <script type="text/javascript" src="../src/angular-bootstrap.js"></script>
- <script type="text/javascript">
- function asyncValidate(value, callback){
- var x = value.length % 2 ? null: "even";
- //callback(x);
- _(callback).delay(1000, x);
- }
- </script>
- <link rel="StyleSheet" type="text/css" href="../css/angular.css"/>
- </head>
- <body onload="angular.compile(document).$init()">
-
- <input type="checkbox" name="form.checked" ng-format="boolean" value="true" checked="checked" />
- <input ng-show="form.checked" name="form.required" ng-required/>
- <hr/>
- <input name="form.list" ng-format="list" ng-required/>
- <input name="form.list" ng-format="list" />
- <hr/>
- <input type="checkbox" name="form.boolean" ng-format="boolean" value="true" checked="checked" />
- <input type="checkbox" name="form.boolean" ng-format="boolean" value="true" />
- <hr/>
- <select name="select">
- <option>A</option>
- <option selected>B</option>
- </select>
- <pre>
-form={{form}}
-$invalidWidgets.length={{$invalidWidgets.length}}
- </pre>
- </body>
-</html>