mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-25 18:50:26 +00:00
use expressionCompile function directly
This commit is contained in:
parent
ad18fe1442
commit
1aa99c08e9
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ var angularArray = {
|
|||
descending = $.charAt(0) == '-';
|
||||
$ = $.substring(1);
|
||||
}
|
||||
var get = $ ? angular['Function']['compile']($) : identity;
|
||||
var get = $ ? expressionCompile($).fnSelf : identity;
|
||||
return reverse(function(a,b){
|
||||
return compare(get(a),get(b));
|
||||
}, descending);
|
||||
|
|
|
|||
Loading…
Reference in a new issue