Skip to content
Browse files

Add `deprecated` flag for nativeImageSource

Looks like the native Image implementation used to treat old `image!` images slightly differently. This diff restores that behavior for `nativeImageSource`.


Reviewed By: mmmulani

Differential Revision: D4240506

fbshipit-source-id: d8d39216f86df32e0614d7cdc95df2148c85077a
  • Loading branch information
frantic authored and Facebook Github Bot committed Nov 28, 2016
1 parent 97887c2 commit 1fe0f4d8ecbb298a3b9fccb1de3f03d52087528e
Showing with 1 addition and 0 deletions.
  1. +1 −0 Libraries/Image/nativeImageSource.js
@@ -47,6 +47,7 @@ function nativeImageSource(spec: SourceSpec): Object {
width: spec.width,
height: spec.height,
deprecated: true,

0 comments on commit 1fe0f4d

Please sign in to comment.