Skip to content

Commit

Permalink
TODO for fixing the getMatch return type
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbender committed Apr 16, 2014
1 parent a6a78d0 commit 53036a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/picturefill.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@

// return the first match which might undefined
// returns false if there is a pending source
// TODO the return type here is brutal, cleanup
firstMatch = pf.getMatch( element );

// if any sources are pending in this picture due to async type test(s)
Expand Down

0 comments on commit 53036a4

Please sign in to comment.