mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-28 12:55:48 +08:00
refactor(bootstrap): Remove support for old bootstrap mechnanisms
Remove support for bootstrap detection using: * The element id * The element class. E.g. ``` <div id="ng-app">...</div> <div class="ng-app: module">...</div> ``` Removes reference to how to bootstrap using IE7 BREAKING CHANGE: If using any of the mechanisms specified above, then migrate by specifying the attribute `ng-app` to the root element. E.g. ``` <div ng-app="module">...</div> ``` Closes #8147
This commit is contained in:
committed by
Igor Minar
parent
9dce42b3c2
commit
666a3835d2
@@ -38,11 +38,7 @@ initialization.
|
||||
|
||||
<html ng-app>
|
||||
|
||||
3. If you require IE7 support add `id="ng-app"`
|
||||
|
||||
<html ng-app id="ng-app">
|
||||
|
||||
4. If you choose to use the old style directive syntax `ng:` then include xml-namespace in `html`
|
||||
3. If you choose to use the old style directive syntax `ng:` then include xml-namespace in `html`
|
||||
to make IE happy. (This is here for historical reasons, and we no longer recommend use of
|
||||
`ng:`.)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user