Sha256: dc12daad13a6b3d3278fd22d5f080fe0535de9719aa3dac74afbbc703a9476e5

Contents?: true

Size: 250 Bytes

Versions: 4

Compression:

Stored size: 250 Bytes

Contents

#= require joosy/core/joosy

#
# Widgets manipulation
#
Joosy.helpers 'Application', ->

  @widget = (element, widget) ->
    uuid    = Joosy.uuid()
    element = @tag element, id: uuid

    @onRefresh -> @registerWidget '#'+uuid, widget

    element

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
joosy-1.0.0.RC4 app/assets/javascripts/joosy/core/helpers/widgets.js.coffee
joosy-1.0.0.RC3 app/assets/javascripts/joosy/core/helpers/widgets.js.coffee
joosy-1.0.0.RC2 app/assets/javascripts/joosy/core/helpers/widgets.js.coffee
joosy-1.0.0.RC1 app/assets/javascripts/joosy/core/helpers/widgets.js.coffee