Skip to content

Commit

Permalink
[ReactNative][madman] Reverted D2014357
Browse files Browse the repository at this point in the history
  • Loading branch information
fkgozali committed Apr 24, 2015
1 parent 1f1c6af commit 4c9ed22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ describe('Packager', function() {
__packager_asset: true,
isStatic: true,
path: '/root/img/img.png',
name: 'img',
uri: 'img',
width: 25,
height: 50,
deprecated: true,
Expand Down
2 changes: 1 addition & 1 deletion packager/react-packager/src/Packager/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Packager.prototype.generateAssetModule_DEPRECATED = function(ppackage, module) {
__packager_asset: true,
isStatic: true,
path: module.path,
name: module.id.replace(/^[^!]+!/, ''),
uri: module.id.replace(/^[^!]+!/, ''),
width: dimensions.width / module.resolution,
height: dimensions.height / module.resolution,
deprecated: true,
Expand Down

0 comments on commit 4c9ed22

Please sign in to comment.