Merge pull request #926 from sapics/minor-patch

Minor minification
This commit is contained in:
Jürg Lehni 2016-01-26 16:53:21 +01:00
commit b828c7733e
2 changed files with 4 additions and 8 deletions

View file

@ -15,9 +15,6 @@ addons:
- libssl-dev
- libjpeg62-dev
- libgif-dev
before_script:
- npm install -g bower
- bower install
script:
- npm run lint
- gulp minify

View file

@ -568,13 +568,12 @@ var Matrix = Base.extend(/** @lends Matrix# */{
_transformCoordinates: function(src, dst, count) {
var i = 0,
j = 0,
max = 2 * count;
while (i < max) {
var x = src[i++],
y = src[i++];
dst[j++] = x * this._a + y * this._b + this._tx;
dst[j++] = x * this._c + y * this._d + this._ty;
var x = src[i],
y = src[i+1];
dst[i++] = x * this._a + y * this._b + this._tx;
dst[i++] = x * this._c + y * this._d + this._ty;
}
return dst;
},