From 992f5f584b87dbc24d0ad596daddcabc4b91b933 Mon Sep 17 00:00:00 2001 From: LouisGac Date: Wed, 28 Jun 2017 12:33:18 +0200 Subject: [PATCH] Dev: added devBaseUrl to some packages Dev: so asset manager is not used when debug mode is active --- application/config/third_party.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/application/config/third_party.php b/application/config/third_party.php index e58f00d555f..ded633a106e 100755 --- a/application/config/third_party.php +++ b/application/config/third_party.php @@ -19,6 +19,7 @@ // jQuery 'jquery' => array( + 'devBaseUrl' => 'third_party/jquery', 'basePath' => 'third_party.jquery', 'js' => array( 'jquery-3.1.1'.$minVersion.'.js', @@ -60,14 +61,16 @@ 'fontawesome' => array( //'basePath' => 'third_party.bootstrap', // Need fix third_party alias - 'basePath' => 'third_party.fontawesome', + 'devBaseUrl' => 'fonts/fontawesome/', + 'basePath' => 'fonts.fontawesome', 'css'=> array( - 'css/font-awesome.min.css', + 'css/font-awesome'.$minVersion.'.css', ), ), // jQuery UI 'jqueryui' => array( + 'devBaseUrl' => 'third_party/jquery-ui', 'basePath' => 'third_party.jquery-ui', 'js' => array( 'jquery-ui'.$minVersion.'.js', @@ -189,6 +192,7 @@ // Ace 'ace' => array( + 'devBaseUrl' => 'third_party/ace', 'basePath' => 'third_party.ace', 'js' => array( 'ace.js' @@ -200,6 +204,7 @@ // jQuery Ace 'jquery-ace' => array( + 'devBaseUrl' => 'third_party/jquery-ace', 'basePath' => 'third_party.jquery-ace', 'js' => array( 'jquery.ace.js', @@ -233,6 +238,7 @@ // Decimal.js calculate in js 'decimal' => array( + 'devBaseUrl' => 'third_party/decimal', 'basePath' => 'third_party.decimal', 'js' => array( 'decimal.js'