Update vendors.

Former-commit-id: cdd10877e964b62eb73747fbaec5f7eda6ace599
This commit is contained in:
John-David Dalton
2012-11-17 23:50:15 -08:00
parent 155f0a9736
commit ca7f36506c
5 changed files with 14 additions and 9 deletions

View File

@@ -988,8 +988,8 @@
}
};
// Cached regex for cleaning leading hashes and slashes.
var routeStripper = /^[#\/]|\s+$/;
// Cached regex for stripping a leading hash/slash and trailing space.
var routeStripper = /^[#\/]|\s+$/g;
// Cached regex for stripping leading and trailing slashes.
var rootStripper = /^\/+|\/+$/g;