Sha256: 648c096db7c9d79e094908f4ed6dbc528b14a39126ba2fff54fe4fb8af2f8b14

Contents?: true

Size: 348 Bytes

Versions: 9

Compression:

Stored size: 348 Bytes

Contents

class @Gmaps.Objects.BaseBuilder

  build: ->
    new(@model_class())(@serviceObject)

  before_init: ->

  after_init: ->

  addListener: (action, fn)->
    @primitives().addListener @getServiceObject(), action, fn

  getServiceObject: ->
    @serviceObject

  primitives: ->
    @constructor.PRIMITIVES

  model_class: ->
    @constructor.OBJECT

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gmaps4rails-2.1.2 vendor/assets/javascripts/gmaps/objects/base_builder.coffee
gmaps4rails-2.1.1 vendor/assets/javascripts/gmaps/objects/base_builder.coffee
gmaps4rails-2.1.0 vendor/assets/javascripts/gmaps/objects/base_builder.coffee
gmaps4rails-2.0.5 vendor/assets/javascripts/gmaps/objects/base_builder.coffee
gmaps4rails-2.0.4 vendor/assets/javascripts/gmaps/objects/base_builder.coffee
gmaps4rails-2.0.3 vendor/assets/javascripts/gmaps/objects/base_builder.coffee
gmaps4rails-2.0.2 vendor/assets/javascripts/gmaps/objects/base_builder.coffee
gmaps4rails-2.0.1 vendor/assets/javascripts/gmaps/objects/base_builder.coffee
gmaps4rails-2.0.0 vendor/assets/javascripts/gmaps/objects/base_builder.coffee