589014c7 | Xmpp.Views.Popup ||= {} class Xmpp.Views.Popup.PopupView extends Backbone.View superTemplate: JST["backbone/templates/popup/popup"] el: $('#js-popup') |
910e0f23 | superEvents: 'click .close': 'close' |
589014c7 | render: (childHtml) -> |
910e0f23 | $(@el).html(@superTemplate()).append(childHtml) close: (e) -> e.preventDefault() @remove() remove: -> @stopListening() $(@el).empty() |