Skip to content

Commit 1a00887

Browse files
committed
Merge pull request #43 from gillstrom/arg
Add `returnArgument` function
2 parents e764104 + a48ada0 commit 1a00887

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

anything.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,10 @@
382382
return false;
383383
}
384384

385+
function returnArgument(x) {
386+
return x;
387+
}
388+
385389
//prototypes go here
386390
anything.prototype.doTheThing = doTheThing;
387391
anything.prototype.flipText = flipText;
@@ -412,6 +416,7 @@
412416
anything.prototype.async_doThingTomorrow = async_doThingTomorrow;
413417
anything.prototype.writeTomorrowDate = writeTomorrowDate;
414418
anything.prototype.isTrue = isTrue;
419+
anything.prototype.returnArgument = returnArgument;
415420

416421
//put that shit where everyone can see it.
417422
if(typeof(window.Δ) === 'undefined'){

0 commit comments

Comments
 (0)