Mark Eibes
2015-12-15T12:19:34Z

plasmapjs-excerpt.scala

| @JSExport("Plasmap")
| @JSExportAll
| object PlasmapJS {
| def coordinates(lon:Double, lat:Double) = PMCoordinates(lon, lat)
| def city(name:String):PMCityFromName = PMCityFromName(name)
| def kindergartens(area:PMAreaQuery) = PMKindergartensFromArea(area)
| //[...]
| val run = runInternal(defaultMap) _:js.Function3[PMQuery, UndefOr[OnMessageJS], UndefOr[OnMessageJS], Unit]
| }