Skip to content

Commit

Permalink
Merge branch 'master' into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tripp committed Nov 7, 2012
2 parents 1542421 + e023bf9 commit f242ce7
Show file tree
Hide file tree
Showing 305 changed files with 25,864 additions and 12,586 deletions.
8,644 changes: 4,342 additions & 4,302 deletions build/charts-base/charts-base-coverage.js

Large diffs are not rendered by default.

1,520 changes: 780 additions & 740 deletions build/charts-base/charts-base-debug.js

Large diffs are not rendered by default.

1,520 changes: 780 additions & 740 deletions build/charts-base/charts-base.js

Large diffs are not rendered by default.

198 changes: 105 additions & 93 deletions build/charts-legend/charts-legend-coverage.js

Large diffs are not rendered by default.

108 changes: 60 additions & 48 deletions build/charts-legend/charts-legend-debug.js

Large diffs are not rendered by default.

108 changes: 60 additions & 48 deletions build/charts-legend/charts-legend.js

Large diffs are not rendered by default.

2,456 changes: 1,235 additions & 1,221 deletions build/graphics-canvas/graphics-canvas-coverage.js

Large diffs are not rendered by default.

472 changes: 243 additions & 229 deletions build/graphics-canvas/graphics-canvas-debug.js

Large diffs are not rendered by default.

472 changes: 243 additions & 229 deletions build/graphics-canvas/graphics-canvas.js

Large diffs are not rendered by default.

1,803 changes: 907 additions & 896 deletions build/graphics-svg/graphics-svg-coverage.js

Large diffs are not rendered by default.

437 changes: 224 additions & 213 deletions build/graphics-svg/graphics-svg-debug.js

Large diffs are not rendered by default.

437 changes: 224 additions & 213 deletions build/graphics-svg/graphics-svg.js

Large diffs are not rendered by default.

2,049 changes: 1,031 additions & 1,018 deletions build/graphics-vml/graphics-vml-coverage.js

Large diffs are not rendered by default.

535 changes: 274 additions & 261 deletions build/graphics-vml/graphics-vml-debug.js

Large diffs are not rendered by default.

535 changes: 274 additions & 261 deletions build/graphics-vml/graphics-vml.js

Large diffs are not rendered by default.

219 changes: 117 additions & 102 deletions build/graphics/graphics-coverage.js

Large diffs are not rendered by default.

217 changes: 116 additions & 101 deletions build/graphics/graphics-debug.js

Large diffs are not rendered by default.

217 changes: 116 additions & 101 deletions build/graphics/graphics.js

Large diffs are not rendered by default.

60 changes: 30 additions & 30 deletions build/matrix/matrix-coverage.js

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions build/matrix/matrix-debug.js
Expand Up @@ -15,7 +15,7 @@ var MatrixUtil = {
* @private
*/
_rounder: 100000,

/**
* Rounds values
*
Expand Down Expand Up @@ -68,7 +68,7 @@ var MatrixUtil = {
},

/**
* Converts a transform object to an array of column vectors.
* Converts a transform object to an array of column vectors.
*
* / \
* | matrix[0][0] matrix[1][0] matrix[2][0] |
Expand All @@ -90,7 +90,7 @@ var MatrixUtil = {
},

/**
* Returns the determinant of a given matrix.
* Returns the determinant of a given matrix.
*
* / \
* | matrix[0][0] matrix[1][0] matrix[2][0] |
Expand Down Expand Up @@ -119,7 +119,7 @@ var MatrixUtil = {
multiplier = matrix[i][0];
if(i % 2 === 0 || i === 0)
{
determinant += multiplier * MatrixUtil.getDeterminant(MatrixUtil.getMinors(matrix, i, 0));
determinant += multiplier * MatrixUtil.getDeterminant(MatrixUtil.getMinors(matrix, i, 0));
}
else
{
Expand Down Expand Up @@ -153,13 +153,13 @@ var MatrixUtil = {
adjunct = [],
//vector representing 2x2 matrix
minor = [];
if(len === 2)
if(len === 2)
{
determinant = matrix[0][0] * matrix[1][1] - matrix[0][1] * matrix[1][0];
inverse = [
[matrix[1][1] * determinant, -matrix[1][0] * determinant],
[-matrix[0][1] * determinant, matrix[0][0] * determinant]
];
];
}
else
{
Expand Down Expand Up @@ -301,7 +301,7 @@ var MatrixUtil = {
}
return product;
},

/**
* Breaks up a 2d transform matrix into a series of transform operations.
*
Expand Down Expand Up @@ -353,7 +353,7 @@ var MatrixUtil = {
/**
* Parses a transform string and returns an array of transform arrays.
*
* @method getTransformArray
* @method getTransformArray
* @param {String} val A transform string
* @return Array
*/
Expand All @@ -364,9 +364,9 @@ var MatrixUtil = {
m,
decomp,
methods = MatrixUtil.transformMethods;

while ((m = re.exec(transform))) {
if (methods.hasOwnProperty(m[1]))
if (methods.hasOwnProperty(m[1]))
{
args = m[2].split(',');
args.unshift(m[1]);
Expand All @@ -388,7 +388,7 @@ var MatrixUtil = {
}
return transforms;
},

/**
* Returns an array of transform arrays representing transform functions and arguments.
*
Expand Down Expand Up @@ -422,7 +422,7 @@ var MatrixUtil = {
},

/**
* Compares to arrays or transform functions to ensure both contain the same functions in the same
* Compares to arrays or transform functions to ensure both contain the same functions in the same
* order.
*
* @method compareTransformSequence
Expand Down Expand Up @@ -495,10 +495,10 @@ Matrix.prototype = {
_rounder: 100000,

/**
* Updates the matrix.
* Updates the matrix.
*
* @method multiple
* @param {Number} a
* @param {Number} a
* @param {Number} b
* @param {Number} c
* @param {Number} d
Expand Down Expand Up @@ -542,11 +542,11 @@ Matrix.prototype = {
}
}
},

/**
* Parses a string and returns an array of transform arrays.
*
* @method getTransformArray
* @method getTransformArray
* @param {String} val A css transform string
* @return Array
*/
Expand All @@ -555,7 +555,7 @@ Matrix.prototype = {
transforms = [],
args,
m;

val = val.replace(/matrix/g, "multiply");
while ((m = re.exec(val))) {
if (typeof this[m[1]] === 'function') {
Expand Down Expand Up @@ -626,7 +626,7 @@ Matrix.prototype = {
this.multiply(x, 0, 0, y, 0, 0);
return this;
},

/**
* Applies a skew transformation.
*
Expand Down Expand Up @@ -682,10 +682,10 @@ Matrix.prototype = {
toCSSText: function() {
var matrix = this,
text = 'matrix(' +
matrix.a + ',' +
matrix.b + ',' +
matrix.c + ',' +
matrix.d + ',' +
matrix.a + ',' +
matrix.b + ',' +
matrix.c + ',' +
matrix.d + ',' +
matrix.dx + ',' +
matrix.dy + ')';
return text;
Expand All @@ -700,9 +700,9 @@ Matrix.prototype = {
toFilterText: function() {
var matrix = this,
text = 'progid:DXImageTransform.Microsoft.Matrix(';
text += 'M11=' + matrix.a + ',' +
'M21=' + matrix.b + ',' +
'M12=' + matrix.c + ',' +
text += 'M11=' + matrix.a + ',' +
'M21=' + matrix.b + ',' +
'M12=' + matrix.c + ',' +
'M22=' + matrix.d + ',' +
'sizingMethod="auto expand")';

Expand Down Expand Up @@ -772,7 +772,7 @@ Matrix.prototype = {
this.multiply(1, 0, 0, 1, x, y);
return this;
},

/**
* Applies a translate to the x-coordinate
*
Expand Down Expand Up @@ -862,7 +862,7 @@ Matrix.prototype = {
d = matrix.d,
dx = matrix.dx,
dy = matrix.dy,
x1 = (a * left + c * top + dx),
x1 = (a * left + c * top + dx),
y1 = (b * left + d * top + dy),
//[x2, y2]
x2 = (a * right + c * top + dx),
Expand All @@ -879,8 +879,8 @@ Matrix.prototype = {
top: Math.min(y2, Math.min(y4, Math.min(y3, y1))),
bottom: Math.max(y2, Math.max(y4, Math.max(y3, y1)))
};
},
},

/**
* Returns the determinant of the matrix.
*
Expand Down

0 comments on commit f242ce7

Please sign in to comment.