Module: nagvis Branch: master Commit: 3f55460cdeccd45cd2301f9f3fb94a9c1ffe2b9d URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=3f55460cdeccd45cd2301f9f3fb94a9c1ffe2b9d
Author: Lars Michelsen <[email protected]> Date: Sat Oct 31 15:17:43 2009 +0100 Some small code improvements --- .../frontend/nagvis-js/js/NagVisStatefulObject.js | 1 + share/frontend/nagvis-js/js/nagvis.js | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/share/frontend/nagvis-js/js/NagVisStatefulObject.js b/share/frontend/nagvis-js/js/NagVisStatefulObject.js index 81d4465..76aa1cf 100644 --- a/share/frontend/nagvis-js/js/NagVisStatefulObject.js +++ b/share/frontend/nagvis-js/js/NagVisStatefulObject.js @@ -215,6 +215,7 @@ var NagVisStatefulObject = NagVisObject.extend({ var oIcon = this.parseIcon(); oContainerDiv.appendChild(oIcon); oIcon = null; + break; } // Parse label when configured diff --git a/share/frontend/nagvis-js/js/nagvis.js b/share/frontend/nagvis-js/js/nagvis.js index 9b0145c..6bceb2f 100644 --- a/share/frontend/nagvis-js/js/nagvis.js +++ b/share/frontend/nagvis-js/js/nagvis.js @@ -35,9 +35,7 @@ var oWorkerProperties, oGeneralProperties, oRotationProperties, oPageProperties; var oViewProperties; var oFileAges; -var aMapObjects; var oStatusMessageTimer; - var aMapObjects = []; // Initialize and define some other basic vars @@ -86,7 +84,7 @@ function date ( format, timestamp ) { (typeof(timestamp) == 'undefined') ? new Date() : // Not provided (typeof(timestamp) == 'number') ? new Date(timestamp*1000) : // UNIX timestamp new Date(timestamp) // Javascript Date() - ); // , tal=[] + ); var pad = function (n, c){ if ( (n = n + "").length < c ) { return new Array(++c - n.length).join("0") + n; ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
