repo.or.cz
/
openemr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Added literallycanvas and react libraries.
[openemr.git]
/
library
/
js
/
literallycanvas
/
js
/
ie_setLineDash.js
blob
60a5806e27ed614f5df7994ee13aa9fba15b09ea
1
"use strict";
2
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
};
12
}
13
module.exports = null;