From bfdcdcccee146f924f3311b6955ce81d2dab226f Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Fri, 10 Jul 2015 10:50:12 -0400 Subject: New skin and SCSS implementation --- www/js/app.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'www/js/app.js') 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); -- cgit v1.2.3