aboutsummaryrefslogtreecommitdiff
path: root/src/main/webapp/apps/core/CoreResources.js
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-12-28 13:13:14 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-12-28 13:13:14 +0100
commitc9ff3d5495b0229d837fa0ec23486cc7b6b191d0 (patch)
treeb978427f431aa41c59115978c6a017db84b9f2ec /src/main/webapp/apps/core/CoreResources.js
parent422b1caeaa9f7d069a9208ecb0d0249485b1a05e (diff)
downloadesper-testing-c9ff3d5495b0229d837fa0ec23486cc7b6b191d0.tar.gz
esper-testing-c9ff3d5495b0229d837fa0ec23486cc7b6b191d0.tar.bz2
esper-testing-c9ff3d5495b0229d837fa0ec23486cc7b6b191d0.tar.xz
esper-testing-c9ff3d5495b0229d837fa0ec23486cc7b6b191d0.zip
o Listing builds on the person view.
Diffstat (limited to 'src/main/webapp/apps/core/CoreResources.js')
-rw-r--r--src/main/webapp/apps/core/CoreResources.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/webapp/apps/core/CoreResources.js b/src/main/webapp/apps/core/CoreResources.js
new file mode 100644
index 0000000..96d4b24
--- /dev/null
+++ b/src/main/webapp/apps/core/CoreResources.js
@@ -0,0 +1,17 @@
+'use strict';
+
+function Person($resource) {
+ return $resource('/resource/core/person/:uuid', {uuid: '@uuid'});
+}
+
+angular.
+ module('person', ['ngResource']).
+ factory('Person', Person);
+
+function Build($resource) {
+ return $resource('/resource/core/build/:uuid', {uuid: '@uuid'});
+}
+
+angular.
+ module('build', ['ngResource']).
+ factory('Build', Build);