Help JS minification.

This commit is contained in:
Jürg Lehni 2015-08-21 15:15:06 +02:00
parent 4cdc572824
commit 13b5e6ce22

View file

@ -1130,7 +1130,8 @@ var Item = Base.extend(Emitter, /** @lends Item# */{
setMatrix: function() {
// Use Matrix#initialize to easily copy over values.
this._matrix.initialize.apply(this._matrix, arguments);
var matrix = this._matrix;
matrix.initialize.apply(matrix, arguments);
if (this._applyMatrix) {
// Directly apply the internal matrix. This will also call
// _changed() for us.