File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ function $InterpolateProvider() {
202
202
}
203
203
exp = text . substring ( startIndex + startSymbolLength , endIndex ) ;
204
204
expressions . push ( exp ) ;
205
- parseFns . push ( $parse ( exp , parseStringifyInterceptor ) ) ;
205
+ parseFns . push ( $parse ( exp ) ) ;
206
206
index = endIndex + endSymbolLength ;
207
207
expressionPositions . push ( concat . length ) ;
208
208
concat . push ( '' ) ;
@@ -232,7 +232,7 @@ function $InterpolateProvider() {
232
232
var compute = function ( values ) {
233
233
for ( var i = 0 , ii = expressions . length ; i < ii ; i ++ ) {
234
234
if ( allOrNothing && isUndefined ( values [ i ] ) ) return ;
235
- concat [ expressionPositions [ i ] ] = values [ i ] ;
235
+ concat [ expressionPositions [ i ] ] = parseStringifyValue ( values [ i ] ) ;
236
236
}
237
237
return concat . join ( '' ) ;
238
238
} ;
@@ -299,7 +299,7 @@ function $InterpolateProvider() {
299
299
replace ( escapedEndRegexp , endSymbol ) ;
300
300
}
301
301
302
- function parseStringifyInterceptor ( value ) {
302
+ function parseStringifyValue ( value ) {
303
303
try {
304
304
return stringify ( getValue ( value ) ) ;
305
305
} catch ( err ) {
You can’t perform that action at this time.
0 commit comments