|
@ -5,7 +5,7 @@ |
|
|
* A dynamic, browser-based visualization library. |
|
|
* A dynamic, browser-based visualization library. |
|
|
* |
|
|
* |
|
|
* @version 3.7.2-SNAPSHOT |
|
|
* @version 3.7.2-SNAPSHOT |
|
|
* @date 2014-12-02 |
|
|
|
|
|
|
|
|
* @date 2014-12-03 |
|
|
* |
|
|
* |
|
|
* @license |
|
|
* @license |
|
|
* Copyright (C) 2011-2014 Almende B.V, http://almende.com
|
|
|
* Copyright (C) 2011-2014 Almende B.V, http://almende.com
|
|
@ -23698,7 +23698,7 @@ return /******/ (function(modules) { // webpackBootstrap |
|
|
this.bind(key,callback,type); |
|
|
this.bind(key,callback,type); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
// get the key label from an event
|
|
|
// get the key label from an event
|
|
|
this.getKey = function(event) { |
|
|
this.getKey = function(event) { |
|
@ -23728,10 +23728,12 @@ return /******/ (function(modules) { // webpackBootstrap |
|
|
} |
|
|
} |
|
|
if (callback !== undefined) { |
|
|
if (callback !== undefined) { |
|
|
var newBindings = []; |
|
|
var newBindings = []; |
|
|
var bound = _bound[type][_keys[key].code] |
|
|
|
|
|
for (var i = 0; i < bound.length; i++) { |
|
|
|
|
|
if (!(bound[i].fn == callback && bound[i].shift == _keys[key].shift)) { |
|
|
|
|
|
newBindings.push(_bound[type][_keys[key].code][i]); |
|
|
|
|
|
|
|
|
var bound = _bound[type][_keys[key].code]; |
|
|
|
|
|
if (bound !== undefined) { |
|
|
|
|
|
for (var i = 0; i < bound.length; i++) { |
|
|
|
|
|
if (!(bound[i].fn == callback && bound[i].shift == _keys[key].shift)) { |
|
|
|
|
|
newBindings.push(_bound[type][_keys[key].code][i]); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
_bound[type][_keys[key].code] = newBindings; |
|
|
_bound[type][_keys[key].code] = newBindings; |
|
|