all methods are now copied to Collection prototype so that you don't have to use the each() method all the time

This commit is contained in:
Eric Rowell
2014-01-19 21:35:28 -08:00
parent 79f86f2fe0
commit f1b1c58166
24 changed files with 112 additions and 37 deletions

View File

@@ -154,6 +154,8 @@
Kinetic.Util.extend(Kinetic.Label, Kinetic.Group);
Kinetic.Collection.mapMethods(Kinetic.Label);
/**
* Tag constructor.  A Tag can be configured
* to have a pointer element that points up, right, down, or left
@@ -291,4 +293,6 @@
* @method
* @memberof Kinetic.Tag.prototype
*/
Kinetic.Collection.mapMethods(Kinetic.Tag);
})();