Skip to content

Commit

Permalink
minor addition to JSDOC for BinPacker (see #49)
Browse files Browse the repository at this point in the history
  • Loading branch information
veillette committed Jun 28, 2016
1 parent dfa76b2 commit d578b9c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions js/BinPacker.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ define( function( require ) {
bin.unuse();
},

// @private, for debugging purposes
/**
* @private, for debugging purposes
* @returns {string}
*/
toString: function() {
var result = '';

Expand Down Expand Up @@ -276,7 +279,10 @@ define( function( require ) {
this.parent && this.parent.attemptToCollapse();
},

// @private for debugging purposes
/**
* @private, for debugging purposes
* @returns {string}
*/
toString: function() {
return this.bounds.toString() + ( this.isUsed ? ' used' : '' );
}
Expand Down

0 comments on commit d578b9c

Please sign in to comment.