Add note about how to interpret JS functions

This commit is contained in:
Evan Czaplicki 2013-12-18 23:35:14 -08:00
parent 32e7d1da03
commit ab53fac3c4

View file

@ -5,6 +5,10 @@ module JavaScript where
the internal data structures of Elm to change and improve with no impact on JS the internal data structures of Elm to change and improve with no impact on JS
integration. integration.
It is intended to be imported as `import JavaScript as JS`. That way functions
like `JS.toInt` convert JavaScript *to* Elm integers and functions like
`JS.fromString` gets JavaScript *from* Elm strings.
# Javascript to Elm # Javascript to Elm
@docs toString, toInt, toFloat, toBool, toList @docs toString, toInt, toFloat, toBool, toList