From 13b21aaf5ac7267288fd94a50ece9a1f1ec2e379 Mon Sep 17 00:00:00 2001
From: Misko Hevery
Date: Fri, 3 Feb 2012 09:51:29 -0800
Subject: fix(doc): example was referring to non existent CSS
---
src/directives.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'src')
diff --git a/src/directives.js b/src/directives.js
index 70b09c88..47a6ef56 100644
--- a/src/directives.js
+++ b/src/directives.js
@@ -623,7 +623,7 @@ function classDirective(name, selector) {
* @example
-
+
Sample Text
@@ -631,17 +631,17 @@ function classDirective(name, selector) {
it('should check ng:class', function() {
expect(element('.doc-example-live span').prop('className')).not().
- toMatch(/ng-input-indicator-wait/);
+ toMatch(/ng-invalid/);
using('.doc-example-live').element(':button:first').click();
expect(element('.doc-example-live span').prop('className')).
- toMatch(/ng-input-indicator-wait/);
+ toMatch(/ng-invalid/);
using('.doc-example-live').element(':button:last').click();
expect(element('.doc-example-live span').prop('className')).not().
- toMatch(/ng-input-indicator-wait/);
+ toMatch(/ng-invalid/);
});
@@ -670,7 +670,7 @@ var ngClassDirective = classDirective('', true);
-
+ ng:class-even="'ng-invalid'">
{{name}}
@@ -681,7 +681,7 @@ var ngClassDirective = classDirective('', true);
expect(element('.doc-example-live li:first span').prop('className')).
toMatch(/ng-format-negative/);
expect(element('.doc-example-live li:last span').prop('className')).
- toMatch(/ng-input-indicator-wait/);
+ toMatch(/ng-invalid/);
});
--
cgit v1.2.3