Skip to content

Instantly share code, notes, and snippets.

View implicit-invocation's full-sized avatar

Dương Thành Đạt implicit-invocation

View GitHub Profile
package com.dongbat.example;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.ScreenAdapter;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.gdx.graphics.OrthographicCamera;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.maps.MapLayer;
// const express = require('express');
// const http = require('http');
// const app = express();
// const items = ['Di cho', 'Rua bat', 'Nau com'];
// const handleError = func => (req, res, next) => {
// try {
// func(req, res, next);
// const each = (arr, iterator, cb) => {
// const results = [];
// let done = 0;
// let hasError = false;
// for (let i = 0; i < arr.length; i++) {
// const item = arr[i];
// iterator(item, (err, result) => {
// if (hasError) return;
// if (err) {