Sha256: 098b23f7d99ec7bc184823274737458c793c4580fffaeac64295bdb766f2e8f6

Contents?: true

Size: 353 Bytes

Versions: 15

Compression:

Stored size: 353 Bytes

Contents

window.Suite = {}

Suite.text = (caption) ->
  document.createTextNode caption

Suite.link = (caption, callback) ->
  _link = document.createElement 'a'
  _link.setAttribute 'href', '#'
  $(_link).append Suite.text(caption)
  $(_link).click callback
  _link

Suite.div = (inner) ->
  _div = document.createElement 'div'
  $(_div).append inner
  _div
  

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
jax-3.0.0.rc2 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.12 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-3.0.0.rc1 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.11 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.10 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.9 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.8 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.7 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.6 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.5 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.4 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.3 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.2 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.1 app/assets/javascripts/jax/dom-helpers.js.coffee
jax-2.0.0 app/assets/javascripts/jax/dom-helpers.js.coffee