Skip to content

Commit

Permalink
Dev: added devBaseUrl to some packages
Browse files Browse the repository at this point in the history
Dev:  so asset manager is not used when debug mode is active
  • Loading branch information
LouisGac committed Jun 28, 2017
1 parent 7beb562 commit 992f5f5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions application/config/third_party.php
Expand Up @@ -19,6 +19,7 @@

// jQuery
'jquery' => array(
'devBaseUrl' => 'third_party/jquery',
'basePath' => 'third_party.jquery',
'js' => array(
'jquery-3.1.1'.$minVersion.'.js',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -189,6 +192,7 @@

// Ace
'ace' => array(
'devBaseUrl' => 'third_party/ace',
'basePath' => 'third_party.ace',
'js' => array(
'ace.js'
Expand All @@ -200,6 +204,7 @@

// jQuery Ace
'jquery-ace' => array(
'devBaseUrl' => 'third_party/jquery-ace',
'basePath' => 'third_party.jquery-ace',
'js' => array(
'jquery.ace.js',
Expand Down Expand Up @@ -233,6 +238,7 @@

// Decimal.js calculate in js
'decimal' => array(
'devBaseUrl' => 'third_party/decimal',
'basePath' => 'third_party.decimal',
'js' => array(
'decimal.js'
Expand Down

0 comments on commit 992f5f5

Please sign in to comment.