Skip to content

Commit cde96bb

Browse files
author
André Fiedler
committed
"added TODO´s"
1 parent 57bff52 commit cde96bb

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Generate.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ var reGradients = [
2121
/^(-moz-linear-gradient)\(((?:\d{1,3}%?)\s(?:\d{1,3}%?))([\w\d\.\s,%\(\)]+)\)$/
2222
];
2323

24+
/*
25+
* TODO: Add IE10 vendor prefix (-ms) support
26+
* TODO: Add radial gradient parsing
27+
* TODO: Maybe some RegExp optimizations are possible ;o)
28+
*/
2429
_html2canvas.Generate.parseGradient = function(css, bounds) {
2530
var gradient, i, len = reGradients.length, m1, stop, m2, m2Len, step, m3;
2631

0 commit comments

Comments
 (0)