       params: params
     config = @_setBasicConfig config, @auth
     @$http(config)
-      .success( (data, status, headers, config) =>
+      .success((data, status, headers, config) =>
         data.account = @auth
         if data?.projects?
           data.projects = for prj in data.projects


class Redmine

  @NOT_FOUND = 404
  @UNAUTHORIZED = 401
  @CONTENT_TYPE: "application/json"

          @Log.table data.projects
          @Log.groupEnd "redmine.loadProjects()"
        deferred.resolve(data, status))
      .error((data, status, headers, config) =>
        if data is "" then data = {error: "Cann't connection.", stats: status}
        data.account = @auth
        deferred.reject(data, status))

    return deferred.promise

