Skip to content

Commit 794891a

Browse files
committed
fix internal cheerio loading
1 parent d75d730 commit 794891a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

UI/Dialogs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ define(function (require, exports, module) {
88
const Dialogs = brackets.getModule("widgets/Dialogs");
99
const Options = require("../Options");
1010
const Icon = require("UI/Icon");
11-
const cheerio = require("cheerio/standalone");
11+
require("cheerio/browser");
1212
let UI = null;
1313

1414
const ID = {

UI/UI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ define(function (require, exports, module) {
7878
const CodeMirror = brackets.getModule("thirdparty/CodeMirror/lib/codemirror");
7979
const CommandManager = brackets.getModule("command/CommandManager");
8080
const KeyBindingManager = brackets.getModule("command/KeyBindingManager");
81-
const cheerio = require("cheerio/standalone");
81+
require("cheerio/browser");
8282

8383
const Options = require("../Options");
8484
const Code = require("../Code");

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mjerabek.cz.codebycode",
33
"title": "Code By Code",
4-
"version": "1.1.0",
4+
"version": "1.1.1",
55
"description": "Edit code with Cheerio or any custom code.",
66
"main": "main.js",
77
"homepage": "https://github.com/michaljerabek/code-by-code",

0 commit comments

Comments
 (0)