Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Empty variables first

  • Loading branch information...
commit eddc6123c8f29e9fa650e154e160a2d47d047fbd 1 parent d52839e
@iamdustan iamdustan authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/tools.js
View
6 src/tools.js
@@ -363,9 +363,9 @@ define([], function() {
* @returns {Number} The angle in radians
*/
parseAngle: function(angle) {
- var unit = tools.parseUnitString(angle),
- amount = parseFloat(angle),
- radians;
+ var radians,
+ unit = tools.parseUnitString(angle),
+ amount = parseFloat(angle);
switch (unit) {
case '': // default
Please sign in to comment.
Something went wrong with that request. Please try again.