From 873e76819fb5803f8e3329e9626b35751239cf75 Mon Sep 17 00:00:00 2001 From: Randy Edmunds Date: Wed, 30 Jul 2014 08:14:00 -0700 Subject: [PATCH] fix for minified build --- Gruntfile.js | 3 ++- src/main.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index b9344e81cb6..87d95ddfb21 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -93,7 +93,8 @@ module.exports = function (grunt) { 'thirdparty/CodeMirror2/mode/{,*/}*', 'thirdparty/CodeMirror2/theme/{,*/}*', 'thirdparty/i18n/*.js', - 'thirdparty/text/*.js' + 'thirdparty/text/*.js', + 'utils/Compatibility.js' ] }, /* styles, fonts and images */ diff --git a/src/main.js b/src/main.js index 3250294d869..196fc3489cf 100644 --- a/src/main.js +++ b/src/main.js @@ -65,6 +65,6 @@ define(function (require) { // Load compatibility shims--these need to load early, be careful moving this require(["utils/Compatibility"], function () { // Load the brackets module. This is a self-running module that loads and runs the entire application. - require(["brackets"]); + require("brackets"); }); });