unepwcmc/SAPI

View on GitHub
app/assets/javascripts/species/views/elibrary_view.js.coffee

Summary

Maintainability
Test Coverage
Species.ElibraryIndexView = Ember.View.extend
  templateName: 'species/elibrary_index'
  # this is how you set the container's id
  init: () ->
    @.set('elementId', 'main')
    return @._super()
  didInsertElement: () ->
    $('body').removeClass('inner')