This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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) { |
NewerOlder