mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-28 22:59:36 -04:00
Use new @operator tag to mark math operator methods.
This commit is contained in:
parent
8f985a7eda
commit
8f254202e8
4 changed files with 21 additions and 2 deletions
src/core
|
@ -47,7 +47,7 @@ paper.PaperScope.prototype.PaperScript = new function() {
|
|||
'+': null
|
||||
};
|
||||
|
||||
// Add hidden math functions to Point, Size and Color
|
||||
// Add hidden math functions to Point, Size and Color.
|
||||
var fields = Base.each(
|
||||
'add,subtract,multiply,divide,modulo,negate'.split(','),
|
||||
function(name) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue