Remove histogram for now

This commit is contained in:
Igor Babuschkin
2014-08-03 10:13:16 +02:00
parent 2ed9e1eebe
commit e35d6eea88
2 changed files with 2 additions and 6 deletions
-2
View File
@@ -53,7 +53,6 @@
{{ lc.lab.money | currency }}
</p>
</div>
<div id="ResearchHist"></div>
</div>
<div class="col-xs-2 scrollable" id="HR" ng-controller="HRController as hrc">
@@ -131,7 +130,6 @@
<script src="js/event.js"></script>
<script src="js/detector.js"></script>
<script src="js/histogram.js"></script>
<script src="js/game.js"></script>
<script src="js/ui.js"></script>
</body>
+2 -4
View File
@@ -20,13 +20,11 @@
data: 0,
reputation: 0,
money: 0,
researchHistogram: new Histogram('#ResearchHist'),
getGrant: function() {
this.money += this.reputation * 5; // TODO: adjust factor, 5
getGrant: function () {
this.money += this.reputation * 5; // TODO: adjust factor
},
acquire: function(amount) {
this.data += amount;
this.researchHistogram.add_events(amount);
},
research: function(cost, reputation) {
if (this.data >= cost) {