app/assets/javascripts/d3.js in d3_rails-3.5.2 vs app/assets/javascripts/d3.js in d3_rails-3.5.3
- old
+ new
@@ -1,8 +1,8 @@
!function() {
var d3 = {
- version: "3.5.2"
+ version: "3.5.3"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_arraySlice = [].slice, d3_array = function(list) {
@@ -8573,15 +8573,11 @@
var d3_selection_interrupt = d3_selection_interruptNS(d3_transitionNamespace());
function d3_selection_interruptNS(ns) {
return function() {
var lock, active;
if ((lock = this[ns]) && (active = lock[lock.active])) {
- if (--lock.count) {
- delete lock[lock.active];
- lock.active += .5;
- } else {
- delete this[ns];
- }
+ if (--lock.count) delete lock[lock.active]; else delete this[ns];
+ lock.active += .5;
active.event && active.event.interrupt.call(this, this.__data__, active.index);
}
};
}
function d3_transition(groups, ns, id) {
\ No newline at end of file