Ver Fonte

Revert "fixed boundingbox typo"

This reverts commit 2715e2409fd2db16ffa1e05e57cf0fdb48c1c0a7.
smaren há 11 anos atrás
pai
commit
564025d955
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      spine-js/spine.js

+ 2 - 2
spine-js/spine.js

@@ -810,7 +810,7 @@ spine.Event.prototype = {
 
 spine.AttachmentType = {
 	region: 0,
-	boundingBox: 1
+	boundingbox: 1
 };
 
 spine.RegionAttachment = function (name) {
@@ -1645,7 +1645,7 @@ spine.AtlasAttachmentLoader = function (atlas) {
 spine.AtlasAttachmentLoader.prototype = {
 	newAttachment: function (skin, type, name) {
 		switch (type) {
-		case spine.AttachmentType.boundingBox:
+		case spine.AttachmentType.boundingbox:
 			return new spine.BoundingBoxAttachment(name);
 		case spine.AttachmentType.region:
 			var region = this.atlas.findRegion(name);