Merge pull request #679 from humphd/remove-code-folding-deps

Remove CodeFolding code we auto-load in brackets.js
This commit is contained in:
Mike Kamermans 2017-04-03 13:16:25 -07:00 коммит произвёл GitHub
Родитель 31b4b7944a ffdd1fe6ad
Коммит c867c4e94a
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -57,12 +57,6 @@ define(function (require, exports, module) {
require("thirdparty/CodeMirror/addon/selection/mark-selection");
require("thirdparty/CodeMirror/keymap/sublime");
// XXXBramble: because we include code folding by default, bundle those addons
// so they get bundled with our dist/thirdparty.js file.
// See src/extensions/default/CodeFolding/main.js
require("thirdparty/CodeMirror/addon/fold/brace-fold");
require("thirdparty/CodeMirror/addon/fold/comment-fold");
require("thirdparty/CodeMirror/addon/fold/markdown-fold");
// XXXBramble: also preload the modes we'll need later, and have them get bundled.
// See src/language/LanguageManager.js and src/language/languages.json
require("thirdparty/CodeMirror/mode/meta");