Switch build to use browserify (#502)

This commit is contained in:
Niklas von Hertzen
2015-02-03 21:34:05 +02:00
parent 60619dca72
commit f3b6df267e
48 changed files with 4044 additions and 1234 deletions

View File

@ -98,10 +98,10 @@ describe("Gradients", function() {
];
$('#backgroundGradients div').each(function(i, node) {
var container = new NodeContainer(node, null);
var container = new html2canvas.NodeContainer(node, null);
var value = container.css("backgroundImage");
it(value, function() {
var parsedBackground = parseBackgrounds(value);
var parsedBackground = html2canvas.utils.parseBackgrounds(value);
if (parsedBackground[0].args[0] === "0% 50%") {
parsedBackground[0].args[0] = 'left';
}