angular/angular.js — pull request #1735 by jayzeng (2012-12-20 05:04:38+00:00)
Title: Simplify trim()

Simplify regex to avoid calling replace() twice.