Skip to content

Commit

Permalink
Fixed scijs#6
Browse files Browse the repository at this point in the history
  • Loading branch information
59naga committed Apr 27, 2015
1 parent a500f28 commit 4c92d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dom-pixels.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports = function getPixels(url, type, cb) {
cb = type
type = ''
}
var ext = path.extname(url)
var ext = path.extname(url.split('?')[0])
switch(type || ext.toUpperCase()) {
case '.GIF':
httpGif(url, cb)
Expand Down

0 comments on commit 4c92d30

Please sign in to comment.