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

Commit 7f11af6

Browse files
committed
docs(error/iscp): extra spaces are allowed
1 parent 437ba49 commit 7f11af6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/content/error/$compile/iscp.ngdoc

+5-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ myModule.directive('directiveName', function factory() {
1212
scope: {
1313
'attrName': '@', // OK
1414
'attrName2': '=localName', // OK
15-
'attrName3': 'name', // ERROR: missing mode @&=
16-
'attrName4': ' = name', // ERROR: extra spaces
17-
'attrName5': 'name=', // ERROR: must be prefixed with @&=
15+
'attrName3': '&?localName', // OK
16+
'attrName4': ' = name', // OK
17+
'attrName5': 'name', // ERROR: missing mode @&=
18+
'attrName6': 'name=', // ERROR: must be prefixed with @&=
19+
'attrName7': '=name?', // ERROR: ? must come directly after the mode
1820
}
1921
...
2022
}

0 commit comments

Comments
 (0)