Fix multislashes

This commit is contained in:
Vit Brunner
2015-03-13 20:06:51 +01:00
parent c1dc77eb5b
commit add3e18d15
4 changed files with 20 additions and 5 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ angular.module("sideBySide").factory "fetch",
# @param base [String] Path to config file directory
# @return [Object] Promises and config data
(base) ->
file = base + '/config.json'
file = base + 'config.json'
$http.get(file).then (config) ->
if typeof config.data != "object"
throw "Config file " + file + " doesn't contain data."