Sha256: 4573aa1f9085e1b7fbb27097b57733a5dbec115e4883a29ce53c1556179eadf8

Contents?: true

Size: 380 Bytes

Versions: 8

Compression:

Stored size: 380 Bytes

Contents

@Gmaps.Objects.Builders = (builderClass, objectClass, primitivesProvider)->

  objectClass.PRIMITIVES = primitivesProvider

  builderClass.OBJECT     = objectClass
  builderClass.PRIMITIVES = primitivesProvider

  return {
    build: (args, provider_options, internal_options)->
      builder = new builderClass(args, provider_options, internal_options)
      builder.build()
  }

Version data entries

8 entries across 8 versions & 1 rubygems

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