diff --git a/.idea/angel_route.iml b/.idea/angel_route.iml index e82db270..03b4c25b 100644 --- a/.idea/angel_route.iml +++ b/.idea/angel_route.iml @@ -7,6 +7,7 @@ + diff --git a/README.md b/README.md index 2bfc485f..f1590fdd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # angel_route -![version 1.0.0-dev+9](https://img.shields.io/badge/version-1.0.0--dev+9-red.svg) +![version 1.0.0-dev+10](https://img.shields.io/badge/version-1.0.0--dev+10-red.svg) ![build status](https://travis-ci.org/angel-dart/route.svg) A powerful, isomorphic routing library for Dart. diff --git a/lib/src/route.dart b/lib/src/route.dart index a11786bf..b02cb08e 100644 --- a/lib/src/route.dart +++ b/lib/src/route.dart @@ -127,7 +127,7 @@ class Route { } void _printDebug(msg) { - if (debug) print(msg); + if (debug == true) print(msg); } Route._base(); diff --git a/lib/src/router.dart b/lib/src/router.dart index 130e685b..a03bf97a 100644 --- a/lib/src/router.dart +++ b/lib/src/router.dart @@ -33,7 +33,7 @@ class Router extends Extensible { } void _printDebug(msg) { - if (debug) print(msg); + if (debug == true) print(msg); } /// Adds a route that responds to the given path diff --git a/pubspec.yaml b/pubspec.yaml index cc33fe4f..4b7735dd 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+9 +version: 1.0.0-dev+10 author: Tobe O homepage: https://github.com/angel-dart/angel_route dev_dependencies: