Sha256: def1d527eb2acae6b81ab0943ffbaa037414bcc0004ee71db1a2efd585e4493c

Contents?: true

Size: 365 Bytes

Versions: 3

Compression:

Stored size: 365 Bytes

Contents

#= require ultimate/helpers

(@Ultimate ||= {}).Backbone =

  debugMode: false

  debug: ->
    if @debugMode
      a = ["info", "Ultimate.Backbone"]
      Array::push.apply a, arguments  if arguments.length > 0
      cout.apply @, a

  isView: (viewClass) -> viewClass instanceof Backbone.View

  isViewClass: (viewClass) -> (viewClass::) instanceof Backbone.View

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ultimate-base-0.2.4 app/assets/javascripts/ultimate/backbone/base.js.coffee
ultimate-base-0.2.3.2 app/assets/javascripts/ultimate/backbone/base.js.coffee
ultimate-base-0.2.3 app/assets/javascripts/ultimate/backbone/base.js.coffee