Return the jQuery element in retinaGravatar().

Review Request #7239 — Created April 22, 2015 and submitted

Information

Djblets
release-0.8.x
2c9d7a6...

Reviewers

The retinaGravatar() function didn't support chaining, since it wasn't
returning 'this'. This forced callers to call this outside of an
existing chain.

While fixing this, I also reduced jQuery wrapping of the inner element.

Made use of this in some code I was working in.

reviewbot
  1. Tool: PEP8 Style Checker
    Ignored Files:
        djblets/static/djblets/js/jquery.gravy.retina.js
    
    
    
    Tool: Pyflakes
    Ignored Files:
        djblets/static/djblets/js/jquery.gravy.retina.js
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.8.x (c258186)
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.9.x (c258186)
Loading...