diff options
author | Indrajith K L | 2017-01-17 15:37:25 +0530 |
---|---|---|
committer | Indrajith K L | 2017-01-17 15:37:25 +0530 |
commit | 550e2f03ad0b60b3c9db3d68dbf014dcb740a2ff (patch) | |
tree | faf6bff0bdde8f01514a3f59ecca943569647c40 /src/dashboard | |
download | InAppJSTemplate-550e2f03ad0b60b3c9db3d68dbf014dcb740a2ff.tar.gz InAppJSTemplate-550e2f03ad0b60b3c9db3d68dbf014dcb740a2ff.tar.bz2 InAppJSTemplate-550e2f03ad0b60b3c9db3d68dbf014dcb740a2ff.zip |
Initial Commit
Diffstat (limited to 'src/dashboard')
-rw-r--r-- | src/dashboard/dashboard.js | 20 | ||||
-rw-r--r-- | src/dashboard/dashboard.model.js | 25 |
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; + +}) + |