targetj 1.0.42 → 1.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "targetj",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "keywords": [
5
5
  "targetj"
6
6
  ],
@@ -16,7 +16,6 @@ LocationManager.prototype.calculateAll = function() {
16
16
  this.hasLocationList.length = 0;
17
17
  this.hasLocationMap = {};
18
18
  this.locationCount.length = 0;
19
- tapp.targetManager.doneTargets.length = 0;
20
19
  this.startTime = browser.now();
21
20
 
22
21
  this.calculate();
@@ -303,6 +303,8 @@ TModelManager.prototype.run = function(oid, delay) {
303
303
 
304
304
  tapp.events.captureEvents();
305
305
 
306
+ tapp.targetManager.doneTargets.length = 0;
307
+
306
308
  tapp.locationManager.calculateTargets(tapp.ui);
307
309
 
308
310
  tapp.locationManager.calculateAll();
@@ -52,7 +52,6 @@ TargetManager.prototype.setTargetValues = function(tmodel) {
52
52
  tmodel.targetUpdatingMap[key] = true;
53
53
  tmodel.targetUpdatingList.push(key);
54
54
  } else if (tmodel.isTargetDone(key)) {
55
- console.log("done targets: " + tmodel.oid + ", " + key);
56
55
  this.doneTargets.push({ tmodel: tmodel, key: key });
57
56
  }
58
57
  }