summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-07-10 10:50:12 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-07-10 10:50:12 -0400
commitbfdcdcccee146f924f3311b6955ce81d2dab226f (patch)
tree5744e447c1bd1879488bb2284bf9713734851c2b /www/js/app.js
parent3ba89992702770cd54add7909c61278bee329b81 (diff)
New skin and SCSS implementation
Diffstat (limited to 'www/js/app.js')
-rw-r--r--www/js/app.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/www/js/app.js b/www/js/app.js
index bf6e646f..4e8311d2 100644
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -18,7 +18,7 @@ angular.module('zmApp', [
//------------------------------------------------------------------
// this directive will be load any time an image completes loading
// via img tags where this directive is added (I am using this in
-// events and mionitor view to show a loader while the image is
+// events and monitor view to show a loader while the image is
// downloading from ZM
//------------------------------------------------------------------
@@ -242,11 +242,19 @@ angular.module('zmApp', [
});
-
+ //fileLogger is an excellent cross platform library
+ // that allows you to manage log files without worrying about
+ // paths etc.https://github.com/pbakondy/filelogger
$fileLogger.setStorageFilename('zmNinjaLog.txt');
if (window.cordova)
{
+ // getAppVersion is a handy library
+ // that lets you extract the app version in config.xml
+ // given that you are always changing versions while
+ // uploading to app/play stores, this is very useful
+ // to keep in sync and use within your app
+
cordova.getAppVersion(function(version) {
appVersion = version;
ZMDataModel.zmLog ("zmNinja Version: " + appVersion);