Skip to content

Commit

Permalink
FIX: Fix syntax issue for api files
Browse files Browse the repository at this point in the history
  • Loading branch information
jakerenzella committed Mar 2, 2016
1 parent 4a5a6c1 commit ee81e64
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/app/api/api-url.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module "doubtfire.api.api-url", []
angular.module("doubtfire.api.api-url", [])

#
# This sets where the Doubtfire API sits
Expand Down
4 changes: 2 additions & 2 deletions src/app/api/api.coffee
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
angular.module "doubtfire.api", [
angular.module("doubtfire.api", [
"ngFileUpload" # PortfolioSubmission depends on this
# Kill the above when you do each
"doubtfire.api.api-url"
"doubtfire.api.resource-plus"
"doubtfire.api.models"
]
])

.factory("UnitRole", (resourcePlus) ->
resourcePlus "/unit_roles/:id", { id: "@id" }
Expand Down
4 changes: 2 additions & 2 deletions src/app/api/models/models.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module "doubtfire.api.models", [
angular.module("doubtfire.api.models", [
"doubtfire.api.models.project"
"doubtfire.api.models.unit"
]
])
2 changes: 1 addition & 1 deletion src/app/api/models/project.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module "doubtfire.api.models.project", []
angular.module("doubtfire.api.models.project", [])

.factory("Project", (resourcePlus) ->
resourcePlus "/projects/:id", { id: "@id" }
Expand Down
2 changes: 1 addition & 1 deletion src/app/api/models/unit.coffee
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
angular.module "doubtfire.api.models.unit", []
angular.module("doubtfire.api.models.unit", [])

.factory("Unit", (resourcePlus, currentUser, $window, api) ->
Unit = resourcePlus "/units/:id", { id: "@id" }
Expand Down
4 changes: 2 additions & 2 deletions src/app/api/resource-plus.coffee
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
angular.module "doubtfire.api.resource-plus", [
angular.module("doubtfire.api.resource-plus", [
"ngResource"
]
])

#
# Resource "plus"
Expand Down

0 comments on commit ee81e64

Please sign in to comment.