aboutsummaryrefslogtreecommitdiff
path: root/src/dashboard
diff options
context:
space:
mode:
authorIndrajith K L2017-01-17 15:37:25 +0530
committerIndrajith K L2017-01-17 15:37:25 +0530
commit550e2f03ad0b60b3c9db3d68dbf014dcb740a2ff (patch)
treefaf6bff0bdde8f01514a3f59ecca943569647c40 /src/dashboard
downloadInAppJSTemplate-550e2f03ad0b60b3c9db3d68dbf014dcb740a2ff.tar.gz
InAppJSTemplate-550e2f03ad0b60b3c9db3d68dbf014dcb740a2ff.tar.bz2
InAppJSTemplate-550e2f03ad0b60b3c9db3d68dbf014dcb740a2ff.zip
Initial Commit
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;
+
+})
+