This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 2 files changed +10
-0
lines changed
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 94
94
([ 8eabc546] ( https://github.com/angular/angular.js/commit/8eabc5463c795d87f37e5a9eacbbb14435024061 ) ,
95
95
[ #9942 ] ( https://github.com/angular/angular.js/issues/9942 ) )
96
96
97
+ ## Breaking Changes
97
98
99
+ - ** $parse:** due to [ fbad2805] ( https://github.com/angular/angular.js/commit/fbad2805703569058a4a860747b0e2d8aee36bdf ) ,
100
+ you can't use characters that have special meaning in AngularJS expressions (ex.: ` . ` or ` - ` )
101
+ as part of filter's name. Before this commit custom filters could contain special characters
102
+ (like a dot) in their name but this wasn't intentional.
98
103
99
104
<a name =" 1.3.2 " ></a >
100
105
# 1.3.2 cardiovasculatory-magnification (2014-11-07)
Original file line number Diff line number Diff line change @@ -91,6 +91,11 @@ The filter function should be a [pure function](http://en.wikipedia.org/wiki/Pur
91
91
means that it should be stateless and idempotent. Angular relies on these properties and executes
92
92
the filter only when the inputs to the function change.
93
93
94
+ <div class="alert alert-warning">
95
+ **Note:** filter names must be valid angular expression identifiers, such as `uppercase` or `orderBy`.
96
+ Names with special characters, such as hyphens and dots, are not allowed.
97
+ </div>
98
+
94
99
The following sample filter reverses a text string. In addition, it conditionally makes the
95
100
text upper-case.
96
101
You can’t perform that action at this time.
0 commit comments