Skip to content

Commit fe0421f

Browse files
committed
added new test and fixed test
1 parent aa4de60 commit fe0421f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/math/trigonometry.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ p5.prototype.radians = angle => angle * constants.DEG_TO_RAD;
284284
* Calling <a href="#/p5/angleMode">angleMode()</a> with no arguments returns current anglemode.
285285
* @method angleMode
286286
* @param {Constant} mode either RADIANS or DEGREES
287-
* @chainable
288287
* @example
289288
* <div>
290289
* <code>
@@ -318,7 +317,6 @@ p5.prototype.angleMode = function(mode) {
318317
} else if (mode === constants.DEGREES || mode === constants.RADIANS) {
319318
this._angleMode = mode;
320319
}
321-
return this;
322320
};
323321

324322
/**

0 commit comments

Comments
 (0)