Skip to content

Commit

Permalink
Removed one of the variables (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanciobanu committed May 17, 2013
1 parent 168575b commit cd1b8fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions app/conf/general.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ App.general = {
SVG_PATH: '/public/svg',
ENVIRONMENT: 'testing',

USE_BRANDING = false;
EXTRA_BRANDING =["/assets/custom.css"];
EXTRA_BRANDING: [],

// Throw exceptions and don't catch them with our wrapper
// so that we can debug them easier.
Expand Down
4 changes: 2 additions & 2 deletions app/includes.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function getStaticUrl() {

function includeCssAndJs() {
includeStaticFilesInBundles();
if (USE_BRANDING){
includeBranding(EXTRA_BRANDING);
if (App.general.EXTRA_BRANDING.length){
includeBranding(App.general.EXTRA_BRANDING);
}
includeMainEntryPoint();
includeTemplates();
Expand Down

0 comments on commit cd1b8fe

Please sign in to comment.