Browse Source

added two 'var' statements to comply with use strict

v3_develop
Alex de Mulder 10 years ago
parent
commit
2aacd4e8a3
3 changed files with 2141 additions and 2141 deletions
  1. +2139
    -2139
      dist/vis.js
  2. +1
    -1
      lib/timeline/component/graph2d_types/line.js
  3. +1
    -1
      lib/timeline/component/graph2d_types/points.js

+ 2139
- 2139
dist/vis.js
File diff suppressed because it is too large
View File


+ 1
- 1
lib/timeline/component/graph2d_types/line.js View File

@ -12,7 +12,7 @@ function Line(groupId, options) {
Line.prototype.getYRange = function(groupData) {
var yMin = groupData[0].y;
var yMax = groupData[0].y;
for (j = 0; j < groupData.length; j++) {
for (var j = 0; j < groupData.length; j++) {
yMin = yMin > groupData[j].y ? groupData[j].y : yMin;
yMax = yMax < groupData[j].y ? groupData[j].y : yMax;
}

+ 1
- 1
lib/timeline/component/graph2d_types/points.js View File

@ -12,7 +12,7 @@ function Points(groupId, options) {
Points.prototype.getYRange = function(groupData) {
var yMin = groupData[0].y;
var yMax = groupData[0].y;
for (j = 0; j < groupData.length; j++) {
for (var j = 0; j < groupData.length; j++) {
yMin = yMin > groupData[j].y ? groupData[j].y : yMin;
yMax = yMax < groupData[j].y ? groupData[j].y : yMax;
}

Loading…
Cancel
Save