Sha256: 982b811ee2f1e7e5d3f21e94c81cc20e02bbf3e098a7154a95b8bf8f060803ea

Contents?: true

Size: 362 Bytes

Versions: 6

Compression:

Stored size: 362 Bytes

Contents

window.<%= function_name %> = do ->

  init = ->
    # Write your code here...

  <%- functions.each do |functionName| %>
  <%= functionName.camelize(:lower) %> = ->
    # Write your function here...
  <%- end -%>

  # Add any functions you'd like to make public here:
  return { init }

# Optionally: Call init on jQuery load
# jQuery <%= function_name %>.init

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
orthodox-0.3.0 lib/generators/coffeescript/templates/coffeescript.coffee.erb
orthodox-0.2.4 lib/generators/coffeescript/templates/coffeescript.coffee.erb
orthodox-0.2.3 lib/generators/coffeescript/templates/coffeescript.coffee.erb
orthodox-0.2.2 lib/generators/coffeescript/templates/coffeescript.coffee.erb
orthodox-0.2.1 lib/generators/coffeescript/templates/coffeescript.coffee.erb
orthodox-0.2.0 lib/generators/coffeescript/templates/coffeescript.coffee.erb