aboutsummaryrefslogtreecommitdiff
path: root/src/dashboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/dashboard')
-rw-r--r--src/dashboard/dashboard.js20
-rw-r--r--src/dashboard/dashboard.model.js25
2 files changed, 45 insertions, 0 deletions
diff --git a/src/dashboard/dashboard.js b/src/dashboard/dashboard.js
new file mode 100644
index 0000000..245cdf5
--- /dev/null
+++ b/src/dashboard/dashboard.js
@@ -0,0 +1,20 @@
+define(['services', 'moment', 'constants', 'dashboard/dashboard.model'], function(_services, moment, CONSTANTS, DASHBOARD_MODEL) {
+
+
+ var DASHBOARD_MODULE = {
+ init: function(){
+ console.log("INIT");
+ anotherMethod("Kool")
+ },
+ anotherMethod : function() {
+ console.log("Param ",param);
+ }
+
+
+ };
+
+
+ return DASHBOARD_MODULE;
+
+
+});
diff --git a/src/dashboard/dashboard.model.js b/src/dashboard/dashboard.model.js
new file mode 100644
index 0000000..894c684
--- /dev/null
+++ b/src/dashboard/dashboard.model.js
@@ -0,0 +1,25 @@
+define([], function(){
+
+
+function DASHBOARD_MODEL() {
+ this.dashboardData = {
+ dashboardDetails: []
+ };
+}
+
+DASHBOARD_MODEL.prototype = {
+ setData: function(data) {
+
+ },
+
+ getData: function() {
+ var localData = UTILS.getLocalStorage('dashboardData');
+ return localData;
+ }
+
+};
+
+return DASHBOARD_MODEL;
+
+})
+