Skip to content

Commit 5c44c87

Browse files
author
Marcel Gerber
committed
Add references to utils/Global back
1 parent afd2c6b commit 5c44c87

6 files changed

Lines changed: 18 additions & 0 deletions

File tree

src/command/Menus.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ define(function (require, exports, module) {
3939
ViewUtils = require("utils/ViewUtils"),
4040
DeprecationWarning = require("utils/DeprecationWarning");
4141

42+
// make sure the global brackets variable is loaded
43+
require("utils/Global");
44+
4245
/**
4346
* Brackets Application Menu Constants
4447
* @enum {string}

src/help/HelpCommandHandlers.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ define(function (require, exports, module) {
4141
AboutDialogTemplate = require("text!htmlContent/about-dialog.html"),
4242
ContributorsTemplate = require("text!htmlContent/contributors-list.html");
4343

44+
// make sure the global brackets variable is loaded
45+
require("utils/Global");
46+
4447
/**
4548
* This is the thirdparty API's (GitHub) maximum contributors per page limit
4649
* @const {number}

src/strings.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ define(function (require, exports, module) {
4040
stringsApp = require("i18n!nls/strings-app"),
4141
StringUtils = require("utils/StringUtils");
4242

43+
// make sure the global brackets variable is loaded
44+
require("utils/Global");
45+
4346
// Add URLs as additional globals
4447
var additionalGlobals = $.extend({}, urls),
4548
parsedVersion = /([0-9]+)\.([0-9]+)\.([0-9]+)/.exec(brackets.metadata.version);

src/utils/BuildInfoUtils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ define(function (require, exports, module) {
3535
var FileSystem = require("filesystem/FileSystem"),
3636
FileUtils = require("file/FileUtils");
3737

38+
// make sure the global brackets variable is loaded
39+
require("utils/Global");
40+
3841
/**
3942
* Loads a SHA from Git metadata file. If the file contains a symbolic ref name, follows the ref
4043
* and loads the SHA from that file in turn.

src/utils/PerfUtils.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ define(function (require, exports, module) {
3232

3333
var _ = require("thirdparty/lodash");
3434

35+
// make sure the global brackets variable is loaded
36+
require("utils/Global");
37+
3538
/**
3639
* Flag to enable/disable performance data gathering. Default is true (enabled)
3740
* @type {boolean} enabled

src/utils/UpdateNotification.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ define(function (require, exports, module) {
4040
UpdateDialogTemplate = require("text!htmlContent/update-dialog.html"),
4141
UpdateListTemplate = require("text!htmlContent/update-list.html");
4242

43+
// make sure the global brackets variable is loaded
44+
require("utils/Global");
45+
4346
// duration of one day in milliseconds
4447
var ONE_DAY = 1000 * 60 * 60 * 24;
4548

0 commit comments

Comments
 (0)