@millistream/millistream-widgets 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/millistream-widgets.js +2 -0
- package/package.json +1 -1
package/millistream-widgets.js
CHANGED
|
@@ -2556,6 +2556,7 @@ var millistream_data_api = {
|
|
|
2556
2556
|
evalJSONP: function(callback, fn) {
|
|
2557
2557
|
return function(data) {
|
|
2558
2558
|
delete window[fn];
|
|
2559
|
+
var elem;
|
|
2559
2560
|
(elem = document.getElementById(fn)).parentNode.removeChild(elem);
|
|
2560
2561
|
if (typeof data == "object") {
|
|
2561
2562
|
callback(data);
|
|
@@ -4706,6 +4707,7 @@ var MillistreamWidgetSettings = {
|
|
|
4706
4707
|
thousandseparator: ' ',
|
|
4707
4708
|
streaming: false
|
|
4708
4709
|
};
|
|
4710
|
+
|
|
4709
4711
|
function MillistreamWidgetStreamingApi(settings) {
|
|
4710
4712
|
var _this = this;
|
|
4711
4713
|
_this.settings = {
|