Patched _printDebug?
This commit is contained in:
parent
e8265f3863
commit
85a4768928
3 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
# angel_route
|
||||
|
||||
![version 1.0.0-dev+16](https://img.shields.io/badge/version-1.0.0--dev+16-red.svg)
|
||||
![version 1.0.0-dev+17](https://img.shields.io/badge/version-1.0.0--dev+17-red.svg)
|
||||
![build status](https://travis-ci.org/angel-dart/route.svg)
|
||||
|
||||
A powerful, isomorphic routing library for Dart.
|
||||
|
|
|
@ -251,9 +251,9 @@ class Router extends Extensible {
|
|||
final cleanAbsolute = absolute.replaceAll(_straySlashes, '');
|
||||
final cleanRelative = relative.replaceAll(_straySlashes, '');
|
||||
final segments = cleanRelative.split('/').where((str) => str.isNotEmpty);
|
||||
_printDebug(
|
||||
'Now resolving $method "/$cleanRelative", absolute: $cleanAbsolute');
|
||||
_printDebug('Path segments: ${segments.toList()}');
|
||||
//_printDebug(
|
||||
// 'Now resolving $method "/$cleanRelative", absolute: $cleanAbsolute');
|
||||
// _printDebug('Path segments: ${segments.toList()}');
|
||||
|
||||
for (Route route in routes) {
|
||||
if (route is SymlinkRoute && route._head != null && segments.isNotEmpty) {
|
||||
|
@ -305,7 +305,7 @@ class Router extends Extensible {
|
|||
}
|
||||
}
|
||||
|
||||
_printDebug('Could not resolve path "/$cleanRelative".');
|
||||
// _printDebug('Could not resolve path "/$cleanRelative".');
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name: angel_route
|
||||
description: A powerful, isomorphic routing library for Dart.
|
||||
version: 1.0.0-dev+16
|
||||
version: 1.0.0-dev+17
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
homepage: https://github.com/angel-dart/angel_route
|
||||
dev_dependencies:
|
||||
|
|
Loading…
Reference in a new issue