Comparing version 1.0.0 to 1.0.1
@@ -121,6 +121,8 @@ module.exports = function Library (includes) { | ||
this.map = async (fn, arr) => { | ||
let res = []; | ||
for (let i = 0; i < arr.length; i++) { | ||
const arg = arr[i] | ||
await fn(arg) | ||
res.push(await fn(arg)); | ||
} | ||
return res; | ||
} | ||
@@ -238,6 +240,2 @@ | ||
this.on = (event, f) => { // Triggers on event. | ||
ronin.bind(event, f) | ||
} | ||
this.test = (name, a, b) => { | ||
@@ -244,0 +242,0 @@ if (`${a}` !== `${b}`) { |
{ | ||
"name": "nanolisp", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Embeddable Lisp for JS projects", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
13516
377