Codier/angular.js — comment on commit 5f9e3c2e72fec6ccf1c7e4a932d3e67b4bca74dc
File: src/jqLite.js line 230
By Codier:

Please take a look at this.
When I change last:NaN to last: function() {} (applying the clever trick Igor mentioned), a few unit tests throw exceptions in this function above.
selector.split() is called on function() {}.

To fix those failures, we can make sure selector is not a function but it feels like a hack.
Any better solutions.