Fix module name casing

This commit is contained in:
Niklas von Hertzen 2015-02-03 21:39:57 +02:00
parent f3b6df267e
commit 3671de81f9
5 changed files with 37 additions and 39 deletions

66
dist/html2canvas.js vendored
View File

@ -1539,11 +1539,8 @@ process.umask = function() { return 0; };
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{}],4:[function(require,module,exports){ },{}],4:[function(require,module,exports){
module.exports = require('es6-promise').Promise;
},{"es6-promise":1}],5:[function(require,module,exports){
var log = require('./log'); var log = require('./log');
var Promise = require('./Promise'); var Promise = require('./promise');
var html2canvasCanvasCloneAttribute = "data-html2canvas-canvas-clone"; var html2canvasCanvasCloneAttribute = "data-html2canvas-canvas-clone";
var html2canvasCanvasCloneIndex = 0; var html2canvasCanvasCloneIndex = 0;
@ -1668,7 +1665,7 @@ module.exports = function(ownerDocument, containerDocument, width, height, optio
}); });
}; };
},{"./Promise":4,"./log":16}],6:[function(require,module,exports){ },{"./log":15,"./promise":18}],5:[function(require,module,exports){
// http://dev.w3.org/csswg/css-color/ // http://dev.w3.org/csswg/css-color/
function Color(value) { function Color(value) {
@ -1941,7 +1938,7 @@ var colors = {
module.exports = Color; module.exports = Color;
},{}],7:[function(require,module,exports){ },{}],6:[function(require,module,exports){
var Promise = require('./promise'); var Promise = require('./promise');
var Support = require('./support'); var Support = require('./support');
var CanvasRenderer = require('./renderers/canvas'); var CanvasRenderer = require('./renderers/canvas');
@ -2090,7 +2087,7 @@ function absoluteUrl(url) {
return link; return link;
} }
},{"./clone":5,"./imageloader":14,"./log":16,"./nodecontainer":17,"./nodeparser":18,"./promise":19,"./proxy":20,"./renderers/canvas":24,"./support":26,"./utils":30}],8:[function(require,module,exports){ },{"./clone":4,"./imageloader":13,"./log":15,"./nodecontainer":16,"./nodeparser":17,"./promise":18,"./proxy":19,"./renderers/canvas":23,"./support":25,"./utils":29}],7:[function(require,module,exports){
var Promise = require('./promise'); var Promise = require('./promise');
var log = require('./log'); var log = require('./log');
var smallImage = require('./utils').smallImage; var smallImage = require('./utils').smallImage;
@ -2115,7 +2112,7 @@ function DummyImageContainer(src) {
module.exports = DummyImageContainer; module.exports = DummyImageContainer;
},{"./log":16,"./promise":19,"./utils":30}],9:[function(require,module,exports){ },{"./log":15,"./promise":18,"./utils":29}],8:[function(require,module,exports){
var smallImage = require('./utils').smallImage; var smallImage = require('./utils').smallImage;
function Font(family, size) { function Font(family, size) {
@ -2169,7 +2166,7 @@ function Font(family, size) {
module.exports = Font; module.exports = Font;
},{"./utils":30}],10:[function(require,module,exports){ },{"./utils":29}],9:[function(require,module,exports){
var Font = require('./font'); var Font = require('./font');
function FontMetrics() { function FontMetrics() {
@ -2185,9 +2182,9 @@ FontMetrics.prototype.getMetrics = function(family, size) {
module.exports = FontMetrics; module.exports = FontMetrics;
},{"./font":9}],11:[function(require,module,exports){ },{"./font":8}],10:[function(require,module,exports){
var utils = require('./utils'); var utils = require('./utils');
var Promise = require('./Promise'); var Promise = require('./promise');
var getBounds = utils.getBounds; var getBounds = utils.getBounds;
var loadUrlDocument = require('./proxy').loadUrlDocument; var loadUrlDocument = require('./proxy').loadUrlDocument;
@ -2219,7 +2216,7 @@ FrameContainer.prototype.proxyLoad = function(proxy, bounds, options) {
module.exports = FrameContainer; module.exports = FrameContainer;
},{"./Promise":4,"./core":7,"./proxy":20,"./utils":30}],12:[function(require,module,exports){ },{"./core":6,"./promise":18,"./proxy":19,"./utils":29}],11:[function(require,module,exports){
var Promise = require('./promise'); var Promise = require('./promise');
function GradientContainer(imageData) { function GradientContainer(imageData) {
@ -2240,7 +2237,7 @@ GradientContainer.prototype.TYPES = {
module.exports = GradientContainer; module.exports = GradientContainer;
},{"./promise":19}],13:[function(require,module,exports){ },{"./promise":18}],12:[function(require,module,exports){
var Promise = require('./promise'); var Promise = require('./promise');
function ImageContainer(src, cors) { function ImageContainer(src, cors) {
@ -2263,7 +2260,7 @@ function ImageContainer(src, cors) {
module.exports = ImageContainer; module.exports = ImageContainer;
},{"./promise":19}],14:[function(require,module,exports){ },{"./promise":18}],13:[function(require,module,exports){
var Promise = require('./promise'); var Promise = require('./promise');
var log = require('./log'); var log = require('./log');
var ImageContainer = require('./imagecontainer'); var ImageContainer = require('./imagecontainer');
@ -2423,7 +2420,7 @@ ImageLoader.prototype.timeout = function(container, timeout) {
module.exports = ImageLoader; module.exports = ImageLoader;
},{"./dummyimagecontainer":8,"./framecontainer":11,"./imagecontainer":13,"./lineargradientcontainer":15,"./log":16,"./promise":19,"./proxyimagecontainer":21,"./svgcontainer":27,"./svgnodecontainer":28,"./utils":30,"./webkitgradientcontainer":31}],15:[function(require,module,exports){ },{"./dummyimagecontainer":7,"./framecontainer":10,"./imagecontainer":12,"./lineargradientcontainer":14,"./log":15,"./promise":18,"./proxyimagecontainer":20,"./svgcontainer":26,"./svgnodecontainer":27,"./utils":29,"./webkitgradientcontainer":30}],14:[function(require,module,exports){
var GradientContainer = require('./gradientcontainer'); var GradientContainer = require('./gradientcontainer');
var Color = require('./color'); var Color = require('./color');
@ -2503,14 +2500,14 @@ LinearGradientContainer.prototype.stepRegExp = /((?:rgb|rgba)\(\d{1,3},\s\d{1,3}
module.exports = LinearGradientContainer; module.exports = LinearGradientContainer;
},{"./color":6,"./gradientcontainer":12}],16:[function(require,module,exports){ },{"./color":5,"./gradientcontainer":11}],15:[function(require,module,exports){
module.exports = function() { module.exports = function() {
if (window.html2canvas.logging && window.console && window.console.log) { if (window.html2canvas.logging && window.console && window.console.log) {
Function.prototype.bind.call(window.console.log, (window.console)).apply(window.console, [(Date.now() - window.html2canvas.start) + "ms", "html2canvas:"].concat([].slice.call(arguments, 0))); Function.prototype.bind.call(window.console.log, (window.console)).apply(window.console, [(Date.now() - window.html2canvas.start) + "ms", "html2canvas:"].concat([].slice.call(arguments, 0)));
} }
}; };
},{}],17:[function(require,module,exports){ },{}],16:[function(require,module,exports){
var Color = require('./color'); var Color = require('./color');
var utils = require('./utils'); var utils = require('./utils');
var getBounds = utils.getBounds; var getBounds = utils.getBounds;
@ -2803,7 +2800,7 @@ function asFloat(str) {
module.exports = NodeContainer; module.exports = NodeContainer;
},{"./color":6,"./utils":30}],18:[function(require,module,exports){ },{"./color":5,"./utils":29}],17:[function(require,module,exports){
var log = require('./log'); var log = require('./log');
var punycode = require('punycode'); var punycode = require('punycode');
var NodeContainer = require('./nodecontainer'); var NodeContainer = require('./nodecontainer');
@ -3675,9 +3672,10 @@ function hasUnicode(string) {
module.exports = NodeParser; module.exports = NodeParser;
},{"./color":6,"./fontmetrics":10,"./log":16,"./nodecontainer":17,"./promise":19,"./pseudoelementcontainer":22,"./stackingcontext":25,"./textcontainer":29,"./utils":30,"punycode":3}],19:[function(require,module,exports){ },{"./color":5,"./fontmetrics":9,"./log":15,"./nodecontainer":16,"./promise":18,"./pseudoelementcontainer":21,"./stackingcontext":24,"./textcontainer":28,"./utils":29,"punycode":3}],18:[function(require,module,exports){
arguments[4][4][0].apply(exports,arguments) module.exports = require('es6-promise').Promise;
},{"dup":4,"es6-promise":1}],20:[function(require,module,exports){
},{"es6-promise":1}],19:[function(require,module,exports){
var Promise = require('./promise'); var Promise = require('./promise');
var XHR = require('./xhr'); var XHR = require('./xhr');
var utils = require('./utils'); var utils = require('./utils');
@ -3775,7 +3773,7 @@ exports.Proxy = Proxy;
exports.ProxyURL = ProxyURL; exports.ProxyURL = ProxyURL;
exports.loadUrlDocument = loadUrlDocument; exports.loadUrlDocument = loadUrlDocument;
},{"./clone":5,"./log":16,"./promise":19,"./utils":30,"./xhr":32}],21:[function(require,module,exports){ },{"./clone":4,"./log":15,"./promise":18,"./utils":29,"./xhr":31}],20:[function(require,module,exports){
var ProxyURL = require('./proxy').ProxyURL; var ProxyURL = require('./proxy').ProxyURL;
var Promise = require('./promise'); var Promise = require('./promise');
@ -3799,7 +3797,7 @@ function ProxyImageContainer(src, proxy) {
module.exports = ProxyImageContainer; module.exports = ProxyImageContainer;
},{"./promise":19,"./proxy":20}],22:[function(require,module,exports){ },{"./promise":18,"./proxy":19}],21:[function(require,module,exports){
var NodeContainer = require('./nodecontainer'); var NodeContainer = require('./nodecontainer');
function PseudoElementContainer(node, parent, type) { function PseudoElementContainer(node, parent, type) {
@ -3839,7 +3837,7 @@ PseudoElementContainer.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER = "___html2canv
module.exports = PseudoElementContainer; module.exports = PseudoElementContainer;
},{"./nodecontainer":17}],23:[function(require,module,exports){ },{"./nodecontainer":16}],22:[function(require,module,exports){
var log = require('./log'); var log = require('./log');
function Renderer(width, height, images, options, document) { function Renderer(width, height, images, options, document) {
@ -3949,7 +3947,7 @@ Renderer.prototype.renderBackgroundRepeating = function(container, bounds, image
module.exports = Renderer; module.exports = Renderer;
},{"./log":16}],24:[function(require,module,exports){ },{"./log":15}],23:[function(require,module,exports){
var Renderer = require('../renderer'); var Renderer = require('../renderer');
var LinearGradientContainer = require('../lineargradientcontainer'); var LinearGradientContainer = require('../lineargradientcontainer');
var log = require('../log'); var log = require('../log');
@ -4132,7 +4130,7 @@ function hasEntries(array) {
module.exports = CanvasRenderer; module.exports = CanvasRenderer;
},{"../lineargradientcontainer":15,"../log":16,"../renderer":23}],25:[function(require,module,exports){ },{"../lineargradientcontainer":14,"../log":15,"../renderer":22}],24:[function(require,module,exports){
var NodeContainer = require('./nodecontainer'); var NodeContainer = require('./nodecontainer');
function StackingContext(hasOwnStacking, opacity, element, parent) { function StackingContext(hasOwnStacking, opacity, element, parent) {
@ -4152,7 +4150,7 @@ StackingContext.prototype.getParentStack = function(context) {
module.exports = StackingContext; module.exports = StackingContext;
},{"./nodecontainer":17}],26:[function(require,module,exports){ },{"./nodecontainer":16}],25:[function(require,module,exports){
function Support(document) { function Support(document) {
this.rangeBounds = this.testRangeBounds(document); this.rangeBounds = this.testRangeBounds(document);
this.cors = this.testCORS(); this.cors = this.testCORS();
@ -4205,7 +4203,7 @@ Support.prototype.testSVG = function() {
module.exports = Support; module.exports = Support;
},{}],27:[function(require,module,exports){ },{}],26:[function(require,module,exports){
var Promise = require('./promise'); var Promise = require('./promise');
var XHR = require('./xhr'); var XHR = require('./xhr');
var decode64 = require('./utils').decode64; var decode64 = require('./utils').decode64;
@ -4260,7 +4258,7 @@ SVGContainer.prototype.decode64 = function(str) {
module.exports = SVGContainer; module.exports = SVGContainer;
},{"./promise":19,"./utils":30,"./xhr":32}],28:[function(require,module,exports){ },{"./promise":18,"./utils":29,"./xhr":31}],27:[function(require,module,exports){
var SVGContainer = require('./svgcontainer'); var SVGContainer = require('./svgcontainer');
var Promise = require('./promise'); var Promise = require('./promise');
@ -4288,7 +4286,7 @@ SVGNodeContainer.prototype = Object.create(SVGContainer.prototype);
module.exports = SVGNodeContainer; module.exports = SVGNodeContainer;
},{"./promise":19,"./svgcontainer":27}],29:[function(require,module,exports){ },{"./promise":18,"./svgcontainer":26}],28:[function(require,module,exports){
var NodeContainer = require('./nodecontainer'); var NodeContainer = require('./nodecontainer');
function TextContainer(node, parent) { function TextContainer(node, parent) {
@ -4323,7 +4321,7 @@ function capitalize(m, p1, p2) {
module.exports = TextContainer; module.exports = TextContainer;
},{"./nodecontainer":17}],30:[function(require,module,exports){ },{"./nodecontainer":16}],29:[function(require,module,exports){
exports.smallImage = function smallImage() { exports.smallImage = function smallImage() {
return "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"; return "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
}; };
@ -4494,7 +4492,7 @@ exports.parseBackgrounds = function(backgroundImage) {
return results; return results;
}; };
},{}],31:[function(require,module,exports){ },{}],30:[function(require,module,exports){
var GradientContainer = require('./gradientcontainer'); var GradientContainer = require('./gradientcontainer');
function WebkitGradientContainer(imageData) { function WebkitGradientContainer(imageData) {
@ -4506,7 +4504,7 @@ WebkitGradientContainer.prototype = Object.create(GradientContainer.prototype);
module.exports = WebkitGradientContainer; module.exports = WebkitGradientContainer;
},{"./gradientcontainer":12}],32:[function(require,module,exports){ },{"./gradientcontainer":11}],31:[function(require,module,exports){
var Promise = require('./promise'); var Promise = require('./promise');
function XHR(url) { function XHR(url) {
@ -4532,5 +4530,5 @@ function XHR(url) {
module.exports = XHR; module.exports = XHR;
},{"./promise":19}]},{},[7])(7) },{"./promise":18}]},{},[6])(6)
}); });

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
var log = require('./log'); var log = require('./log');
var Promise = require('./Promise'); var Promise = require('./promise');
var html2canvasCanvasCloneAttribute = "data-html2canvas-canvas-clone"; var html2canvasCanvasCloneAttribute = "data-html2canvas-canvas-clone";
var html2canvasCanvasCloneIndex = 0; var html2canvasCanvasCloneIndex = 0;

View File

View File

@ -1,5 +1,5 @@
var utils = require('./utils'); var utils = require('./utils');
var Promise = require('./Promise'); var Promise = require('./promise');
var getBounds = utils.getBounds; var getBounds = utils.getBounds;
var loadUrlDocument = require('./proxy').loadUrlDocument; var loadUrlDocument = require('./proxy').loadUrlDocument;