Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify code.

  • Loading branch information...
commit cec0ff07ecff2070d7c8c83737da125475073a59 1 parent 640da41
Mary Rose Cook authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 src/library.js
7 src/library.js
View
@@ -22,14 +22,11 @@
var islaCtx = {
write: {
fn: function(env, param) {
- var out;
if(Isla.Utils.type(param) === "Object") {
- out = param.toString();
+ return param.toString();
} else {
- out = param;
+ return param;
}
-
- return out;
},
description: function(p) {
Please sign in to comment.
Something went wrong with that request. Please try again.