 
 
 module = angular.module("taigaResources")
-module.factory("$tgProjectsResourcesProvider", ["$tgConfig", "$tgRepo", "$tgHttp", "$tgUrls", "$tgAuth", "$q", "$translate", resourceProvider])
+module.factory("$tgProjectsResourcesProvider", ["$tgConfig", "$tgRepo", "$tgHttp", "$tgUrls", "$tgAuth",
+                                                "$q", "$translate", resourceProvider])

sizeFormat = @.taiga.sizeFormat


resourceProvider = ($config, $repo, $http, $urls, $auth, $q, $rootScope, $translate) ->
    service = {}

    service.get = (projectId) ->

            statusUpdater("in-progress", null, message, percent)

        uploadComplete = (evt) =>
            statusUpdater("done",
                          $translate.instant("PROJECT.IMPORT.TITLE"),
                          $translate.instant("PROJECT.IMPORT.DESCRIPTION"))

        uploadFailed = (evt) =>
            statusUpdater("error")
