mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Fix unexisting type Symbol
in documentation
This commit is contained in:
parent
bb63310578
commit
4f545d243b
2 changed files with 3 additions and 3 deletions
|
@ -140,7 +140,7 @@ var SymbolDefinition = Base.extend(/** @lends SymbolDefinition# */{
|
||||||
/**
|
/**
|
||||||
* Returns a copy of the symbol.
|
* Returns a copy of the symbol.
|
||||||
*
|
*
|
||||||
* @return {Symbol}
|
* @return {SymbolDefinition}
|
||||||
*/
|
*/
|
||||||
clone: function() {
|
clone: function() {
|
||||||
return new SymbolDefinition(this._item.clone(false));
|
return new SymbolDefinition(this._item.clone(false));
|
||||||
|
@ -149,7 +149,7 @@ var SymbolDefinition = Base.extend(/** @lends SymbolDefinition# */{
|
||||||
/**
|
/**
|
||||||
* Checks whether the symbol's definition is equal to the supplied symbol.
|
* Checks whether the symbol's definition is equal to the supplied symbol.
|
||||||
*
|
*
|
||||||
* @param {Symbol} symbol
|
* @param {SymbolDefinition} symbol
|
||||||
* @return {Boolean} {@true if they are equal}
|
* @return {Boolean} {@true if they are equal}
|
||||||
*/
|
*/
|
||||||
equals: function(symbol) {
|
equals: function(symbol) {
|
||||||
|
|
|
@ -31,7 +31,7 @@ var SymbolItem = Item.extend(/** @lends SymbolItem# */{
|
||||||
/**
|
/**
|
||||||
* Creates a new symbol item.
|
* Creates a new symbol item.
|
||||||
*
|
*
|
||||||
* @param {Symbol} definition the symbol definition to place
|
* @param {Item} definition the symbol definition to place
|
||||||
* @param {Point} [point] the center point of the placed symbol
|
* @param {Point} [point] the center point of the placed symbol
|
||||||
*
|
*
|
||||||
* @example {@paperscript split=true height=240}
|
* @example {@paperscript split=true height=240}
|
||||||
|
|
Loading…
Reference in a new issue