[ReactNative][madman] Reverted D2014357

This commit is contained in:
Kevin Gozali 2015-04-23 17:04:11 -07:00
parent 0b3ca1c53e
commit 2115b67bd9
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,