From 7060ce6af96c0c4280bb55115fab248a36dccb6c Mon Sep 17 00:00:00 2001 From: shprink Date: Sat, 11 Jul 2015 00:06:16 +0200 Subject: [PATCH] perf boolean --- lib/index.coffee | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/index.coffee b/lib/index.coffee index 17f05f73c..9688f4285 100644 --- a/lib/index.coffee +++ b/lib/index.coffee @@ -64,8 +64,10 @@ app.config ($stateProvider) -> ### ANGULAR CONF ### -app.config ($WPHCConfig, $logProvider) -> - $logProvider.debugEnabled _.get($WPHCConfig, 'debugEnabled') || false +app.config ($WPHCConfig, $logProvider, $compileProvider) -> + debugEnabled = _.get($WPHCConfig, 'debugEnabled') || false + $logProvider.debugEnabled debugEnabled + $compileProvider.debugInfoEnabled debugEnabled ### IONIC CONF