Skip to content

Commit

Permalink
fix (js compiler): update to ecmascript5
Browse files Browse the repository at this point in the history
Update the closure compiler flags to ecmascript5 (default is 3). This
fixes release builds failing from javascript that does not conform to
ecmascript3 but works otherwise.
  • Loading branch information
collingreen committed Jan 6, 2015
1 parent ea2fba8 commit 2bbc5d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/build/common/jsCompiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ exports.JSCompiler = Class(function () {

var closureOpts = [
'--compilation_level', 'SIMPLE_OPTIMIZATIONS',
'--jscomp_off', 'internetExplorerChecks'
'--jscomp_off', 'internetExplorerChecks',
'--language_in', 'ECMASCRIPT5'
];

this._api.jvmtools.exec({
Expand Down

0 comments on commit 2bbc5d6

Please sign in to comment.