Reworking the RABL templates for simplicity AND fixing up all the tests

This commit is contained in:
Will Marshall
2014-06-18 13:05:44 +10:00
parent b7e19ca290
commit c8384f1a71
15 changed files with 146 additions and 87 deletions

View File

@@ -0,0 +1,68 @@
@google =
maps:
event:
addDomListener: ->
addDomListenerOnce: ->
addListener: ->
addListenerOnce: ->
bind: ->
clearInstanceListeners: ->
clearListeners: ->
forward: ->
removeListener: ->
trigger: ->
vf: ->
class google.maps.LatLng
constructor: (lat, lng) ->
@latitude = parseFloat(lat)
@longitude = parseFloat(lng)
lat: -> @latitude
lng: -> @longitude
class google.maps.LatLngBounds
constructor: (@ne, @sw) ->
getSouthWest: -> @sw
getNorthEast: -> @ne
class google.maps.OverlayView
class google.maps.Marker
getAnimation: ->
getClickable: ->
getCursor: ->
getDraggable: ->
getFlat: ->
getIcon: ->
getPosition: ->
getShadow: ->
getShape: ->
getTitle: ->
getVisible: ->
getZIndex: ->
setAnimation: ->
setClickable: ->
setCursor: ->
setDraggable: ->
setFlat: ->
setIcon: ->
setPosition: ->
setShadow: ->
setShape: ->
setTitle: ->
setVisible: ->
setZIndex: ->
setMap: ->
getMap: ->
class google.maps.MarkerImage
class google.maps.Map
class google.maps.Point
class google.maps.Size
class google.maps.InfoWindow