@@ -38,12 +38,11 @@ this.createjs = this.createjs||{};
3838 * A Container is a nestable display list that allows you to work with compound display elements. For example you could
3939 * group arm, leg, torso and head {{#crossLink "Bitmap"}}{{/crossLink}} instances together into a Person Container, and
4040 * transform them as a group, while still being able to move the individual parts relative to each other. Children of
41- * containers have their <code>transform</code> and <code>alpha</code> properties concatenated with their parent
42- * Container.
41+ * containers have their `transform` and `alpha` properties concatenated with their parent Container.
4342 *
44- * For example, a {{#crossLink "Shape"}}{{/crossLink}} with x=100 and alpha=0.5, placed in a Container with <code> x=50</code>
45- * and <code> alpha=0.7</code> will be rendered to the canvas at <code> x=150</code> and <code> alpha=0.35</code>.
46- * Containers have some overhead, so you generally shouldn't create a Container to hold a single child.
43+ * For example, a {{#crossLink "Shape"}}{{/crossLink}} with ` x=100` and ` alpha=0.5` , placed in a Container with ` x=50`
44+ * and ` alpha=0.7` will be rendered to the canvas at ` x=150` and ` alpha=0.35`. Containers have some overhead, so you
45+ * generally shouldn't create a Container to hold a single child.
4746 *
4847 * <h4>Example</h4>
4948 *
@@ -105,8 +104,9 @@ this.createjs = this.createjs||{};
105104 } ;
106105
107106 /**
107+ * Use the {{#crossLink "Container/numChildren:property"}}{{/crossLink}} property instead.
108108 * @method getNumChildren
109- * @deprecated Use the {{#crossLink "Container/numChildren:property"}}{{/crossLink}} property instead.
109+ * @deprecated
110110 */
111111 // Container.getNumChildren is @deprecated . Remove for 1.1+
112112 p . getNumChildren = createjs . deprecate ( p . _getNumChildren , "Container.getNumChildren" ) ;
@@ -358,7 +358,7 @@ this.createjs = this.createjs||{};
358358 * container.sortChildren(sortFunction);
359359 *
360360 * @method sortChildren
361- * @param {Function } sortFunction the function to use to sort the child list. See JavaScript's <code> Array.sort</code>
361+ * @param {Function } sortFunction the function to use to sort the child list. See JavaScript's ` Array.sort`
362362 * documentation for details.
363363 **/
364364 p . sortChildren = function ( sortFunction ) {
@@ -467,7 +467,7 @@ this.createjs = this.createjs||{};
467467 * list. This routine ignores any display objects with {{#crossLink "DisplayObject/mouseEnabled:property"}}{{/crossLink}}
468468 * set to `false`. The array will be sorted in order of visual depth, with the top-most display object at index 0.
469469 * This uses shape based hit detection, and can be an expensive operation to run, so it is best to use it carefully.
470- * For example, if testing for objects under the mouse, test on tick (instead of on {{#crossLink "DisplayObject/mousemove :event"}}{{/crossLink}}),
470+ * For example, if testing for objects under the mouse, test on tick (instead of on {{#crossLink "Stage/stagemousemove :event"}}{{/crossLink}}),
471471 * and only if the mouse's position has changed.
472472 *
473473 * <ul>
@@ -478,7 +478,7 @@ this.createjs = this.createjs||{};
478478 * listeners or a {{#crossLink "DisplayObject:cursor:property"}}{{/crossLink}} property. That is, only objects
479479 * that would normally intercept mouse interaction will be included. This can significantly improve performance
480480 * in some cases by reducing the number of display objects that need to be tested.</li>
481- * </li >
481+ * </ul >
482482 *
483483 * This method accounts for both {{#crossLink "DisplayObject/hitArea:property"}}{{/crossLink}} and {{#crossLink "DisplayObject/mask:property"}}{{/crossLink}}.
484484 * @method getObjectsUnderPoint
@@ -496,7 +496,7 @@ this.createjs = this.createjs||{};
496496
497497 /**
498498 * Similar to {{#crossLink "Container/getObjectsUnderPoint"}}{{/crossLink}}, but returns only the top-most display
499- * object. This runs significantly faster than <code> getObjectsUnderPoint()</code> , but is still potentially an expensive
499+ * object. This runs significantly faster than ` getObjectsUnderPoint()` , but is still potentially an expensive
500500 * operation. See {{#crossLink "Container/getObjectsUnderPoint"}}{{/crossLink}} for more information.
501501 * @method getObjectUnderPoint
502502 * @param {Number } x The x position in the container to test.
@@ -509,17 +509,13 @@ this.createjs = this.createjs||{};
509509 return this . _getObjectsUnderPoint ( pt . x , pt . y , null , mode > 0 , mode == 1 ) ;
510510 } ;
511511
512- /**
513- * Docced in superclass.
514- */
512+ // Docced in superclass
515513 p . getBounds = function ( ) {
516514 return this . _getBounds ( null , true ) ;
517515 } ;
518516
519517
520- /**
521- * Docced in superclass.
522- */
518+ // Docced in superclass
523519 p . getTransformedBounds = function ( ) {
524520 return this . _getBounds ( ) ;
525521 } ;
0 commit comments