[Pkg-javascript-commits] [node-array-map] 04/04: Added description in control file
Shirish Togarla
shirish12-guest at moszumanska.debian.org
Tue Feb 7 17:51:02 UTC 2017
This is an automated email from the git hooks/post-receive script.
shirish12-guest pushed a commit to branch master
in repository node-array-map.
commit 6139abfc2c5d4a9d45f700fdda6df32fa6636a71
Author: Shirish Togarla <shirishtogarla533 at gmail.com>
Date: Mon Feb 6 12:21:38 2017 +0000
Added description in control file
---
debian/control | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 8d34f73..b7f4aae 100644
--- a/debian/control
+++ b/debian/control
@@ -18,6 +18,14 @@ Depends:
${misc:Depends}
, nodejs
Description: `[].map(f)` for older browsers
- FIX_ME long description
+ It maps an array(i.e. every value in the array) onto a function and returns
+ the result.For example
+ var map = require('array-map');
+ var letters = map([97,98,99], function (c) {
+ return String.fromCharCode(c);
+ });
+ console.log(letters.join(''));
+ The output is
+ abc
.
Node.js is an event-based server-side JavaScript engine.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-array-map.git
More information about the Pkg-javascript-commits
mailing list