From 85a47689289fc68a82969b44be010da397ce93a3 Mon Sep 17 00:00:00 2001 From: thosakwe Date: Wed, 7 Dec 2016 18:14:03 -0500 Subject: [PATCH] Patched _printDebug? --- README.md | 2 +- lib/src/router.dart | 8 ++++---- pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index b79eb071..7ba9ee94 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/lib/src/router.dart b/lib/src/router.dart index 71ead99d..5dde5a8d 100644 --- a/lib/src/router.dart +++ b/lib/src/router.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; } diff --git a/pubspec.yaml b/pubspec.yaml index 965ef22d..308522ee 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 homepage: https://github.com/angel-dart/angel_route dev_dependencies: