diff options
Diffstat (limited to 'examples/crossBuilds/simple/library/js/src/main/scala/simple/Platform.scala')
-rw-r--r-- | examples/crossBuilds/simple/library/js/src/main/scala/simple/Platform.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/crossBuilds/simple/library/js/src/main/scala/simple/Platform.scala b/examples/crossBuilds/simple/library/js/src/main/scala/simple/Platform.scala new file mode 100644 index 0000000..0191915 --- /dev/null +++ b/examples/crossBuilds/simple/library/js/src/main/scala/simple/Platform.scala @@ -0,0 +1,9 @@ +// library/js/src/main/scala/simple/Platform.scala +package simple +import scalajs.js + +object Platform{ + def format(ts: Long) = { + new js.Date(ts).toISOString() + } +}
\ No newline at end of file |