Commit 2106e4c3 authored by Benjamin Summerton's avatar Benjamin Summerton

Works in JavaScript now

Updated to v3.1
parent 72c21528
...@@ -89,7 +89,7 @@ template bench*(sw: Stopwatch; body: untyped): untyped = ...@@ -89,7 +89,7 @@ template bench*(sw: Stopwatch; body: untyped): untyped =
#====================# #====================#
when defined(macosx): when defined(macosx) or defined(js):
# For OS X # For OS X
from times import epochTime from times import epochTime
......
[Package] [Package]
name = "stopwatch" name = "stopwatch"
version = "3.0" version = "3.1"
author = "define-private-public" author = "define-private-public"
description = "A simple timing library for benchmarking code and other things." description = "A simple timing library for benchmarking code and other things."
license = "MIT" license = "MIT"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment