Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
v1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
TorsteinHonsi committed Oct 7, 2015
1 parent aa92b4d commit cdd7bf7
Show file tree
Hide file tree
Showing 24 changed files with 1,806 additions and 1,427 deletions.
24 changes: 12 additions & 12 deletions adapters/standalone-framework.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 15 additions & 8 deletions adapters/standalone-framework.src.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Highmaps JS v1.1.8 (2015-08-20)
* @license Highmaps JS v1.1.9 (2015-10-07)
*
* Standalone Highcharts Framework
*
Expand All @@ -14,7 +14,6 @@ var UNDEFINED,
doc = document,
emptyArray = [],
timers = [],
timerId,
animSetters = {},
Fx;

Expand Down Expand Up @@ -337,7 +336,7 @@ return {
t.elem = this.elem;

if (t() && timers.push(t) === 1) {
timerId = setInterval(function () {
t.timerId = setInterval(function () {

for (i = 0; i < timers.length; i++) {
if (!timers[i]()) {
Expand All @@ -346,7 +345,7 @@ return {
}

if (!timers.length) {
clearInterval(timerId);
clearInterval(t.timerId);
}
}, 13);
}
Expand All @@ -360,7 +359,7 @@ return {
elem = this.elem,
i;

if (elem.stopAnimation || (elem.attr && !elem.element)) { // #2616, element including flag is destroyed
if (elem.attr && !elem.element) { // #2616, element including flag is destroyed
ret = false;

} else if (gotoEnd || t >= options.duration + this.startTime) {
Expand Down Expand Up @@ -408,8 +407,6 @@ return {
name,
PX = 'px';

el.stopAnimation = false; // ready for new

if (typeof opt !== 'object' || opt === null) {
args = arguments;
opt = {
Expand Down Expand Up @@ -592,7 +589,17 @@ return {
* Stop running animation
*/
stop: function (el) {
el.stopAnimation = true;

var i = timers.length,
timer;

// Remove timers related to this element (#4519)
while (i--) {
timer = timers[i];
if (timer.elem === el) {
timers.splice(i, 1);
}
}
},

/**
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "highmaps",
"version": "v1.1.8",
"version": "v1.1.9",
"main": [
"highmaps.js",
"modules/exporting.js"
Expand Down

0 comments on commit cdd7bf7

Please sign in to comment.