corrade-nucleus-nucleons – Diff between revs 1 and 11
?pathlinks?
Rev 1 | Rev 11 | |||
---|---|---|---|---|
Line 1... | Line 1... | |||
1 | /** |
1 | /** |
|
2 | * @license Highcharts JS v5.0.10 (2017-03-31) |
2 | * @license Highcharts JS v5.0.12 (2017-05-24) |
|
3 | * |
3 | * |
|
4 | * (c) 2014 Highsoft AS |
4 | * (c) 2014 Highsoft AS |
|
5 | * Authors: Jon Arild Nygard / Oystein Moseng |
5 | * Authors: Jon Arild Nygard / Oystein Moseng |
|
6 | * |
6 | * |
|
7 | * License: www.highcharts.com/license |
7 | * License: www.highcharts.com/license |
|
Line 35... | Line 35... | |||
35 | pick = H.pick, |
35 | pick = H.pick, |
|
36 | Series = H.Series, |
36 | Series = H.Series, |
|
37 | stableSort = H.stableSort, |
37 | stableSort = H.stableSort, |
|
38 | color = H.Color, |
38 | color = H.Color, |
|
39 | eachObject = function(list, func, context) { |
39 | eachObject = function(list, func, context) { |
|
40 | var key; |
- | ||
41 | context = context || this; |
40 | context = context || this; |
|
42 | for (key in list) { |
- | ||
43 | if (list.hasOwnProperty(key)) { |
41 | H.objectEach(list, function(val, key) { |
|
44 | func.call(context, list[key], key, list); |
42 | func.call(context, val, key, list); |
|
45 | } |
- | ||
46 | } |
43 | }); |
|
47 | }, |
44 | }, |
|
48 | reduce = function(arr, func, previous, context) { |
45 | reduce = function(arr, func, previous, context) { |
|
49 | context = context || this; |
46 | context = context || this; |
|
50 | arr = arr || []; // @note should each be able to handle empty values automatically? |
47 | arr = arr || []; // @note should each be able to handle empty values automatically? |
|
51 | each(arr, function(current, i) { |
48 | each(arr, function(current, i) { |