Skip to content

Commit 4e720e2

Browse files
committed
Fixes requirejs#69, goofed the options passing to uglify as part of requirejs#67.
1 parent dfa7f5d commit 4e720e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/jslib/optimize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ function (lang, logger, envOptimize, file, parse,
261261
logger.trace("Uglifying file: " + fileName);
262262

263263
try {
264-
ast = parser.parse(fileContents, config);
264+
ast = parser.parse(fileContents, config.strict_semicolons);
265265
ast = processor.ast_mangle(ast, config);
266266
ast = processor.ast_squeeze(ast, config);
267267

dist/r-edge.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license r.js 1.0.3+ 20120103 5:45pm Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved.
2+
* @license r.js 1.0.3+ 20120103 11:10pm Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved.
33
* Available via the MIT or new BSD license.
44
* see: http://github.com/jrburke/requirejs for details
55
*/
@@ -20,7 +20,7 @@ var requirejs, require, define;
2020

2121
var fileName, env, fs, vm, path, exec, rhinoContext, dir, nodeRequire,
2222
nodeDefine, exists, reqMain, loadedOptimizedLib,
23-
version = '1.0.3+ 20120103 5:45pm',
23+
version = '1.0.3+ 20120103 11:10pm',
2424
jsSuffixRegExp = /\.js$/,
2525
commandOption = '',
2626
//Used by jslib/rhino/args.js
@@ -7669,7 +7669,7 @@ function (lang, logger, envOptimize, file, parse,
76697669
logger.trace("Uglifying file: " + fileName);
76707670

76717671
try {
7672-
ast = parser.parse(fileContents, config);
7672+
ast = parser.parse(fileContents, config.strict_semicolons);
76737673
ast = processor.ast_mangle(ast, config);
76747674
ast = processor.ast_squeeze(ast, config);
76757675

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy