From 2715e2409fd2db16ffa1e05e57cf0fdb48c1c0a7 Mon Sep 17 00:00:00 2001 From: smaren Date: Thu, 8 May 2014 11:20:11 +0200 Subject: [PATCH] fixed boundingbox typo BoundingBox was boundingbox and boundingBox different places, now it is boundingBox everywhere --- spine-js/spine.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spine-js/spine.js b/spine-js/spine.js index 5c8fd5307..26d0f1608 100644 --- a/spine-js/spine.js +++ b/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);