mirror of
https://github.com/wassname/side-by-side.git
synced 2026-10-29 13:41:25 +08:00
Cosmetic changes in fetch
This commit is contained in:
1 parent
17f80b71a3
commit
a2fdaaf3ed
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user