mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Fix several return values documentation
This commit is contained in:
parent
12731f2fd1
commit
ef7beacd8b
3 changed files with 3 additions and 3 deletions
|
@ -442,7 +442,7 @@ Base.exports.PaperScript = function() {
|
|||
* @param {String} code the PaperScript code
|
||||
* @param {PaperScope} scope the scope for which the code is executed
|
||||
* @param {Object} [option] the compilation options
|
||||
* @return the exports defined in the executed code
|
||||
* @return {Object} the exports defined in the executed code
|
||||
*/
|
||||
function execute(code, scope, options) {
|
||||
// Set currently active scope.
|
||||
|
|
|
@ -2832,7 +2832,7 @@ new function() { // Injection scope for hit-test functions shared with project
|
|||
* no children, a {@link TextItem} with no text content and a {@link Path}
|
||||
* with no segments all are considered empty.
|
||||
*
|
||||
* @return Boolean
|
||||
* @return {Boolean}
|
||||
*/
|
||||
isEmpty: function() {
|
||||
var children = this._children;
|
||||
|
|
|
@ -133,7 +133,7 @@ var Project = PaperScopeItem.extend(/** @lends Project# */{
|
|||
/**
|
||||
* Checks whether the project has any content or not.
|
||||
*
|
||||
* @return Boolean
|
||||
* @return {Boolean}
|
||||
*/
|
||||
isEmpty: function() {
|
||||
return !this._children.length;
|
||||
|
|
Loading…
Reference in a new issue