Henry Oswald 8 лет назад
Родитель
Сommit
716b309208
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      services/web/app/coffee/infrastructure/ExpressLocals.coffee

+ 0 - 3
services/web/app/coffee/infrastructure/ExpressLocals.coffee

@@ -61,7 +61,6 @@ for paths in pathList
 		fingerprints[filePath] = hash
 		fingerprints[filePath] = hash
 
 
 	if paths.length == 1
 	if paths.length == 1
-		#todo deal with ace multi file hash
 		path = paths[0]
 		path = paths[0]
 		splitPath = path.split("/")
 		splitPath = path.split("/")
 		filenameSplit = splitPath.pop().split(".")
 		filenameSplit = splitPath.pop().split(".")
@@ -139,8 +138,6 @@ module.exports = (app, webRouter, privateApiRouter, publicApiRouter)->
 		res.locals.buildJsPath = (jsFile, opts = {})->
 		res.locals.buildJsPath = (jsFile, opts = {})->
 			path = Path.join(jsPath, jsFile)
 			path = Path.join(jsPath, jsFile)
 
 
-
-			# TODO CDN?
 			if opts.hashedPath
 			if opts.hashedPath
 				path = hashedFiles[path]
 				path = hashedFiles[path]