mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-06 22:35:22 +08:00
docs(minerr): fix broken style from long line in nonassign
This commit is contained in:
@@ -23,8 +23,11 @@ myModule.directive('myDirective', function factory() {
|
||||
|
||||
Following are invalid uses of this directive:
|
||||
```
|
||||
<my-directive bind="1+2"> <!-- ERROR because `1+2=localValue` is an invalid statement -->
|
||||
<my-directive bind="myFn()"> <!-- ERROR because `myFn()=localValue` is an invalid statement -->
|
||||
<!-- ERROR because `1+2=localValue` is an invalid statement -->
|
||||
<my-directive bind="1+2">
|
||||
|
||||
<!-- ERROR because `myFn()=localValue` is an invalid statement -->
|
||||
<my-directive bind="myFn()">
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user