mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(minerr): fix broken style from long line in nonassign
This commit is contained in:
parent
147c6929a2
commit
eea76a0ebe
1 changed files with 5 additions and 2 deletions
|
|
@ -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()">
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue