-
Notifications
You must be signed in to change notification settings - Fork 28
Improved performance. Added SourcesContent support #62
Conversation
|
|
||
| namespace SourcemapToolkit.SourcemapParser | ||
| { | ||
| using System.Text; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move this to be next to the other using statement in this file instead of inside the namespace?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| namespace SourcemapToolkit.SourcemapParser | ||
| { | ||
| using System.Linq; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same thing about putting the imports next to the other imports in this file instead of inside the namespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Version = sourceMap.Version, | ||
| Mappings = sourceMap.Mappings, | ||
| Sources = sourceMap.Sources == null ? null : new List<string>(sourceMap.Sources), | ||
| SourcesContent = sourceMap.SourcesContent == null ? null : new List<string>(sourceMap.SourcesContent), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a simple test to cover the sources content population?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@christiango Check again, please |
No description provided.