Cosmetic changes in fetch

This commit is contained in:
Vit Brunner
2014-09-21 13:14:29 +02:00
parent 17f80b71a3
commit a2fdaaf3ed
@@ -2,8 +2,8 @@ angular.module("sideBySide").factory "fetch", ['$http', 'readerFactory', ($http,
# Fetch
#
# @param file [String] Path to config file
# @return TODO
return (file = "config.json") ->
# @return [Object] Promises and heading
return (file = "/config.json") ->
$http.get(file).then((response) ->
promises = []
for poem in response.data.files