diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2014-01-26 04:02:20 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2014-01-26 04:02:20 +0100 |
commit | d41fc68d9b89d39f8c71ae9f810b72798ff3e9ac (patch) | |
tree | 461bec89c72674c4a4a6bbb949e8aa9788c1f452 /build | |
parent | d63243d085c797e53a965620c439277284eada59 (diff) | |
download | jquery-d41fc68d9b89d39f8c71ae9f810b72798ff3e9ac.tar.gz jquery-d41fc68d9b89d39f8c71ae9f810b72798ff3e9ac.zip |
Build: Remove obsolete UglifyJS workaround
Diffstat (limited to 'build')
-rw-r--r-- | build/tasks/dist.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/build/tasks/dist.js b/build/tasks/dist.js index 97d882e70..13e56336a 100644 --- a/build/tasks/dist.js +++ b/build/tasks/dist.js @@ -52,13 +52,6 @@ module.exports = function( grunt ) { nonascii = true; } - // Modify map/min so that it points to files in the same folder; - // see https://github.com/mishoo/UglifyJS2/issues/47 - if ( /\.map$/.test( filename ) ) { - text = text.replace( /"dist\//g, "\"" ); - fs.writeFileSync( filename, text, "utf-8" ); - } - // Optionally copy dist files to other locations paths.forEach(function( path ) { var created; |