Skip to content

Commit

Permalink
Add missing semicolons
Browse files Browse the repository at this point in the history
Missing semicolons can cause trouble when minifying
or concatenating Javascript sources. The last one
actually did cause trouble when being followed by
an IIFE after concatenation.
  • Loading branch information
superquadratic committed Jul 31, 2013
1 parent 59513b4 commit 5b0a3f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spine-js/spine.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ spine.RegionAttachment.prototype = {
vertices[6/*X4*/] = offset[6/*X4*/] * m00 + offset[7/*Y4*/] * m01 + x;
vertices[7/*Y4*/] = offset[6/*X4*/] * m10 + offset[7/*Y4*/] * m11 + y;
}
}
};

spine.AnimationStateData = function (skeletonData) {
this.skeletonData = skeletonData;
Expand Down Expand Up @@ -1291,11 +1291,11 @@ spine.AtlasReader.prototype = {
tuple[i] = this.trim(line.substring(lastMatch));
return i + 1;
}
}
};

spine.AtlasAttachmentLoader = function (atlas) {
this.atlas = atlas;
}
};
spine.AtlasAttachmentLoader.prototype = {
newAttachment: function (skin, type, name) {
switch (type) {
Expand All @@ -1315,4 +1315,4 @@ spine.AtlasAttachmentLoader.prototype = {
}
throw "Unknown attachment type: " + type;
}
}
};

0 comments on commit 5b0a3f0

Please sign in to comment.