     @chainable
   ###
   updateSrc: ->
-    view = @
-    $img = view.$()
+    $img = @$()
     src = get(@, 'src')
     didImageLoad = get @, 'didImageLoad'
 

    @event willDestroyElement
  ###
  willDestroyElement: ->
    $img = this.$()
    didImageLoad = get @, 'didImageLoad'
    $img.off('load.image-view', didImageLoad)
    @_super()

    if jQuery.trim(src) is ''
      return @

    set @, 'loading', true #enter loading state

    $img.on('load.image-view', didImageLoad)
    $img.attr('src', src)
