Browse Source

Removed check to use static bundle when generating css and js static assets for cogs

Wirecog 7 years ago
parent
commit
09e1fb7084
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      static.go

+ 0
- 4
static.go View File

101
 
101
 
102
 func BundleStaticAssets() {
102
 func BundleStaticAssets() {
103
 
103
 
104
-	if UseStaticTemplateBundleFile == true {
105
-		return
106
-	}
107
-
108
 	jsfiles := findStaticAssets(".js", CogStaticAssetsSearchPaths)
104
 	jsfiles := findStaticAssets(".js", CogStaticAssetsSearchPaths)
109
 	bundleJavaScript(jsfiles)
105
 	bundleJavaScript(jsfiles)
110
 	cssfiles := findStaticAssets(".css", CogStaticAssetsSearchPaths)
106
 	cssfiles := findStaticAssets(".css", CogStaticAssetsSearchPaths)