Patched _printDebug?

This commit is contained in:
thosakwe 2016-12-07 18:14:03 -05:00
parent e8265f3863
commit 85a4768928
3 changed files with 6 additions and 6 deletions

View file

@ -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.

View file

@ -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;
}

View file

@ -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: