@millistream/millistream-widgets 1.0.18 → 1.0.20

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.
@@ -53,7 +53,7 @@
53
53
 
54
54
 
55
55
 
56
- /*
56
+
57
57
 
58
58
  var backingStore = _this.backingStorePixelRatio ||
59
59
  _this.webkitBackingStorePixelRatio ||
@@ -62,8 +62,7 @@
62
62
  _this.oBackingStorePixelRatio ||
63
63
  _this.backingStorePixelRatio || 1;
64
64
  return (window.devicePixelRatio || 1) / backingStore;
65
- */
66
- return 1;
65
+
67
66
  };
68
67
 
69
68
  forEach(ratioArgs, function(value, key) {
@@ -212,8 +211,6 @@
212
211
  })(prototype.getContext);
213
212
 
214
213
  prototype.setRect = (function(height, width) {
215
- console.log(context, this);
216
- console.log(getPixelRatio());
217
214
  if (context == null) return;
218
215
  this.style.height = height + 'px';
219
216
  this.style.width = width + 'px';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@millistream/millistream-widgets",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "description": "Millistream widgets node package",
5
5
  "main": "millistream-widgets.js",
6
6
  "scripts": {