Sha256: bb066f9a3d79cf7c99639774b5e4c10e8df457bca7720f3d485c15a509c56a45

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

# Avoid `console` errors in browsers that lack a console.
unless window.console and console.log
  (->
    noop = ->

    methods = ["assert", "clear", "count", "debug", "dir", "dirxml", "error", "exception", "group", "groupCollapsed", "groupEnd", "info", "log", "markTimeline", "profile", "profileEnd", "markTimeline", "table", "time", "timeEnd", "timeStamp", "trace", "warn"]
    length = methods.length
    console = window.console = {}
    console[methods[length]] = noop  while length--
  )()

body = {}

# woo jquery
jQuery ($) ->
  # cache body reference. Faster lookups
  body = $('body')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hullapp-0.0.1.1 templates/ruby/application/assets/javascripts/main.coffee
hullapp-0.0.1 templates/ruby/application/assets/javascripts/main.coffee