mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-03-14 00:39:57 -04:00
Fix some documentation return types (#1679)
This commit is contained in:
parent
652574115c
commit
cc15696750
2 changed files with 2 additions and 1 deletions
src
|
@ -311,6 +311,7 @@ var PaperScope = Base.extend(/** @lends PaperScope# */{
|
|||
* Retrieves a PaperScope object with the given scope id.
|
||||
*
|
||||
* @param id
|
||||
* @return {PaperScope}
|
||||
*/
|
||||
get: function(id) {
|
||||
return this._scopes[id] || null;
|
||||
|
|
|
@ -2854,7 +2854,7 @@ new function() { // Injection scope for hit-test functions shared with project
|
|||
*
|
||||
* @param {Boolean} [recursively=false] whether an item with children should be
|
||||
* considered empty if all its descendants are empty
|
||||
* @return Boolean
|
||||
* @return {Boolean}
|
||||
*/
|
||||
isEmpty: function(recursively) {
|
||||
var children = this._children;
|
||||
|
|
Loading…
Reference in a new issue