Sha256: 92341b90fde0fdd20daf7bbf36964568673675a7bd246b92aeba8a56d6d34453

Contents?: true

Size: 463 Bytes

Versions: 3

Compression:

Stored size: 463 Bytes

Contents

#alert "xx"
#/api/apps/list

$ ->
  $(window).bind('body_loaded',
    =>
      apps = new Apps()
  )

class Apps
  constructor: ->
    $.ajax "/api/apps/list"
      cache: false
      dataType: 'json'
      success: (data) =>
        console.log data
        for d in data
          $("#applist").append("<a href='/#{d.path}'><li class='apps'>
            <img src='/#{d.path}/icon.png' class='icon-big'>
              <div>#{d.name}</div>
            </li></a>")

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
daftos-0.4.1 lib/apps/apps/coffee/apps.coffee
daftos-0.4.0 lib/apps/apps/coffee/apps.coffee
daftos-0.3.0 lib/apps/apps/coffee/apps.coffee