Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 00f4fc1

Browse files
committed
docs(ngCloak): remove information for ie7
IE7 is not supported. Also change `#template2` text to `'world'`.
1 parent 8914f8e commit 00f4fc1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/ng/directive/ngCloak.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,13 @@
3333
* document; alternatively, the css rule above must be included in the external stylesheet of the
3434
* application.
3535
*
36-
* Legacy browsers, like IE7, do not provide attribute selector support (added in CSS 2.1) so they
37-
* cannot match the `[ng\:cloak]` selector. To work around this limitation, you must add the css
38-
* class `ng-cloak` in addition to the `ngCloak` directive as shown in the example below.
39-
*
4036
* @element ANY
4137
*
4238
* @example
4339
<example>
4440
<file name="index.html">
4541
<div id="template1" ng-cloak>{{ 'hello' }}</div>
46-
<div id="template2" ng-cloak class="ng-cloak">{{ 'hello IE7' }}</div>
42+
<div id="template2" ng-cloak class="ng-cloak">{{ 'world' }}</div>
4743
</file>
4844
<file name="protractor.js" type="protractor">
4945
it('should remove the template directive and css class', function() {

0 commit comments

Comments
 (0)