Skip to content

Commit

Permalink
Handle response all non-error http response codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandezpablo85 committed Apr 20, 2012
1 parent 5663b18 commit 601c7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/retina_image_path.coffee
Expand Up @@ -40,7 +40,7 @@ class RetinaImagePath

# If we get an A-OK from the server,
# push file path onto array of confirmed files
if http.status is 200
if http.status in [200..399]
RetinaImagePath.confirmed_paths.push @at_2x_path
return true
else
Expand Down

0 comments on commit 601c7a0

Please sign in to comment.