Bladeren bron

fixed boundingbox typo

BoundingBox was boundingbox and boundingBox different places, now it is
boundingBox everywhere
smaren 11 jaren geleden
bovenliggende
commit
2715e2409f
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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);