Mercurial Hosting > luan
comparison src/luan/modules/Time.luan @ 1353:8d95711f6615
replace java() with require "java"
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 20 Mar 2019 17:03:29 -0600 |
| parents | 1f9d34a6f308 |
| children | 2b4471d310b3 |
comparison
equal
deleted
inserted
replaced
| 1352:1604d7f36f3a | 1353:8d95711f6615 |
|---|---|
| 1 -- incomplete, will add as needed | 1 -- incomplete, will add as needed |
| 2 | 2 |
| 3 java() | 3 require "java" |
| 4 local Luan = require "luan:Luan.luan" | 4 local Luan = require "luan:Luan.luan" |
| 5 local error = Luan.error | 5 local error = Luan.error |
| 6 local ipairs = Luan.ipairs or error() | 6 local ipairs = Luan.ipairs or error() |
| 7 local Math = require "luan:Math.luan" | 7 local Math = require "luan:Math.luan" |
| 8 local floor = Math.floor or error() | 8 local floor = Math.floor or error() |
