Created
August 29, 2016 23:49
-
-
Save rxaviers/6b9e0216932100a1e83241c26aeffdf3 to your computer and use it in GitHub Desktop.
Comparing `ConcatSource` between `[email protected]` (equivalent date of `[email protected]`) vs `[email protected]`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- node_modules/webpack-core/lib/ConcatSource.js 2015-04-20 15:15:20.000000000 -0300 | |
| +++ node_modules/webpack-sources/lib/ConcatSource.js 2016-01-30 10:03:32.000000000 -0200 | |
| @@ -28,7 +28,9 @@ | |
| ConcatSource.prototype.size = function() { | |
| return this.children.map(function(item) { | |
| return typeof item === "string" ? item.length : item.size(); | |
| - }).reduce(function(sum, s) { return sum + s; }, 0); | |
| + }).reduce(function(sum, s) { | |
| + return sum + s; | |
| + }, 0); | |
| }; | |
| require("./SourceAndMapMixin")(ConcatSource.prototype); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment