Added literallycanvas and react libraries.
[openemr.git] / library / js / literallycanvas / js / ie_setLineDash.js
blob60a5806e27ed614f5df7994ee13aa9fba15b09ea
1 "use strict";
3 var hasWarned = false;
4 if (!CanvasRenderingContext2D.prototype.setLineDash) {
5   CanvasRenderingContext2D.prototype.setLineDash = function () {
6     // no-op
7     if (!hasWarned) {
8       console.warn("context2D.setLineDash is a no-op in this browser.");
9       hasWarned = true;
10     }
11   };
13 module.exports = null;