First development of the deploy action (#6)
Lint / pre-commit Linting (push) Has been cancelled

Deploy js code to an instance of screeps.
Some debugging tools are implemented.

Reviewed-on: #6
Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de>
Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
This commit was merged in pull request #6.
This commit is contained in:
Philipp authored and Philipp Horstenkamp committed 2023-11-26 18:31:49 +01:00
1 parent 0858cc69be
commit 6f5729c12a
1039 files changed
+228399

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
var concatMap = require('../');
var xs = [ 1, 2, 3, 4, 5, 6 ];
var ys = concatMap(xs, function (x) {
return x % 2 ? [ x - 0.1, x, x + 0.1 ] : [];
});
console.dir(ys);