commit
This commit is contained in:
+7
-7
@@ -60,7 +60,7 @@ win.HighchartsAdapter = {
|
||||
if (paths) {
|
||||
fx.element.attr(
|
||||
'd',
|
||||
pathAnim.step(paths[0], paths[1], delta, fx.toD)
|
||||
pathAnim.step1(paths[0], paths[1], delta, fx.toD)
|
||||
);
|
||||
} else {
|
||||
return morphCompute.apply(fx, arguments);
|
||||
@@ -68,14 +68,14 @@ win.HighchartsAdapter = {
|
||||
};
|
||||
/*jslint unparam: false*/
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Run a general method on the framework, following jQuery syntax
|
||||
* @param {Object} el The HTML element
|
||||
* @param {String} method Which method to run on the wrapped element
|
||||
*/
|
||||
adapterRun: function (el, method) {
|
||||
|
||||
|
||||
// This currently works for getting inner width and height. If adding
|
||||
// more methods later, we need a conditional implementation for each.
|
||||
if (method === 'width' || method === 'height') {
|
||||
@@ -182,7 +182,7 @@ win.HighchartsAdapter = {
|
||||
grep: function (arr, fn) {
|
||||
return arr.filter(fn);
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Return the index of an item in an array, or -1 if not matched
|
||||
*/
|
||||
@@ -240,13 +240,13 @@ win.HighchartsAdapter = {
|
||||
// el.removeEvents below apperantly calls this method again. Do not quite understand why, so for now just bail out.
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (el.addEvent) { // If el doesn't have an addEvent method, there are no events to remove
|
||||
if (type) {
|
||||
if (type === 'unload') { // Moo self destructs before custom unload events
|
||||
type = 'beforeunload';
|
||||
}
|
||||
|
||||
|
||||
if (fn) {
|
||||
el.removeEvent(type, fn);
|
||||
} else if (el.removeEvents) { // #958
|
||||
@@ -288,7 +288,7 @@ win.HighchartsAdapter = {
|
||||
defaultFunction(event);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* Set back e.pageX and e.pageY that MooTools has abstracted away. #1165, #1346.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user