Browse Source

Merge branch 'develop' into simplified

css_transitions
josdejong 10 years ago
parent
commit
2215f2d706
7 changed files with 20 additions and 15 deletions
  1. +1
    -0
      .npmignore
  2. +1
    -0
      bower.json
  3. +2
    -1
      dist/vis.css
  4. +7
    -6
      dist/vis.js
  5. +1
    -1
      dist/vis.min.css
  6. +4
    -4
      dist/vis.min.js
  7. +4
    -3
      src/graph/Graph.js

+ 1
- 0
.npmignore View File

@ -1,3 +1,4 @@
misc
node_modules
src
test

+ 1
- 0
bower.json View File

@ -8,6 +8,7 @@
"url": "git://github.com/almende/vis.git"
},
"ignore": [
"misc",
"node_modules",
"src",
"test",

+ 2
- 1
dist/vis.css View File

@ -143,7 +143,8 @@
background: none;
}
.vis.timeline .dot {
.vis.timeline .dot,
.vis.timeline .item.dot {
padding: 0;
border: 5px solid #97B0F8;
position: absolute;

+ 7
- 6
dist/vis.js View File

@ -5,7 +5,7 @@
* A dynamic, browser-based visualization library.
*
* @version 0.7.0-SNAPSHOT
* @date 2014-03-05
* @date 2014-03-06
*
* @license
* Copyright (C) 2011-2014 Almende B.V, http://almende.com
@ -5504,8 +5504,8 @@ ItemSet.prototype.getAxis = function getAxis() {
ItemSet.prototype.reflow = function reflow () {
var changed = 0,
options = this.options,
marginAxis = options.margin && options.margin.axis || this.defaultOptions.margin.axis,
marginItem = options.margin && options.margin.item || this.defaultOptions.margin.item,
marginAxis = (options.margin && 'axis' in options.margin) ? options.margin.axis : this.defaultOptions.margin.axis,
marginItem = (options.margin && 'item' in options.margin) ? options.margin.item : this.defaultOptions.margin.item,
update = util.updateProperty,
asNumber = util.option.asNumber,
asSize = util.option.asSize,
@ -17574,9 +17574,10 @@ Graph.prototype._animationStep = function() {
this.renderTime = Date.now() - renderTime;
};
window.requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
if (typeof window !== 'undefined') {
window.requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
}
/**
* Schedule a animation step with the refreshrate interval.

+ 1
- 1
dist/vis.min.css
File diff suppressed because it is too large
View File


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


+ 4
- 3
src/graph/Graph.js View File

@ -1805,9 +1805,10 @@ Graph.prototype._animationStep = function() {
this.renderTime = Date.now() - renderTime;
};
window.requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
if (typeof window !== 'undefined') {
window.requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame ||
window.webkitRequestAnimationFrame || window.msRequestAnimationFrame;
}
/**
* Schedule a animation step with the refreshrate interval.

Loading…
Cancel
Save