|
|
@ -1423,7 +1423,7 @@ BI.WRouter = BI.inherit(BI.Router, { |
|
|
|
|
|
|
|
|
|
|
|
get: function (fragment) { |
|
|
|
get: function (fragment) { |
|
|
|
var result = null; |
|
|
|
var result = null; |
|
|
|
_.any(this.handlers, function (handler) { |
|
|
|
_.some(this.handlers, function (handler) { |
|
|
|
if (handler.route.test(fragment)) { |
|
|
|
if (handler.route.test(fragment)) { |
|
|
|
result = handler.callback(fragment); |
|
|
|
result = handler.callback(fragment); |
|
|
|
return true; |
|
|
|
return true; |
|
|
|