Comparing version 0.5.1 to 0.5.2
@@ -178,2 +178,6 @@ /** | ||
if (! charts[chartKey].plugin.initialized) { | ||
return false; | ||
} | ||
var dataPointsToKeep = 5000; | ||
@@ -180,0 +184,0 @@ |
{ | ||
"name": "vtop", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Wow such top. So stats", | ||
@@ -5,0 +5,0 @@ "homepage": "http://parall.ax/vtop", |
@@ -25,2 +25,4 @@ /** | ||
initialized: false, | ||
currentValue: 0, | ||
@@ -33,2 +35,3 @@ /** | ||
plugin.currentValue = (Math.floor(v * 100)); | ||
plugin.initialized = true; | ||
}); | ||
@@ -35,0 +38,0 @@ } |
@@ -25,2 +25,5 @@ /** | ||
initialized: false, | ||
currentValue: 0, | ||
@@ -32,2 +35,3 @@ /** | ||
plugin.currentValue = (100 - Math.floor(os.freememPercentage() * 100)); | ||
plugin.initialized = true; | ||
} | ||
@@ -34,0 +38,0 @@ }; |
@@ -31,2 +31,4 @@ /** | ||
initialized: false, | ||
sort: 'cpu', | ||
@@ -117,2 +119,4 @@ | ||
plugin.currentValue = statsArray; | ||
plugin.initialized = true; | ||
}); | ||
@@ -119,0 +123,0 @@ } |
1941897
982