Skip to content

Commit

Permalink
Remove fields added to iOS required modules (#10929) (#11250)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtcoolguy authored and lokeshchdhry committed Sep 30, 2019
1 parent 1a47522 commit bdf4aa2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions iphone/TitaniumKit/TitaniumKit/Sources/API/KrollBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -872,12 +872,6 @@ - (KrollWrapper *)loadJavascriptText:(NSString *)data fromFile:(NSString *)filen
userInfo:nil];
}

if (filename != nil && module != nil) {
// uri is optional but we point it to where we loaded it
[module replaceValue:[NSString stringWithFormat:@"app://%@", filename] forKey:@"uri" notification:NO];
[module replaceValue:filename forKey:@"id" notification:NO]; // set id to full path, originally this was the path from require call
}

return module;
}

Expand Down

0 comments on commit bdf4aa2

Please sign in to comment.