mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-09 11:34:24 +08:00
Cosmetic changes in fetch
This commit is contained in:
@@ -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