Skip to content

Commit

Permalink
deploy: 5cbde2b
Browse files Browse the repository at this point in the history
  • Loading branch information
securingsincity committed Mar 23, 2024
1 parent 112b0ca commit f23e7ec
Show file tree
Hide file tree
Showing 9 changed files with 123 additions and 20 deletions.
6 changes: 3 additions & 3 deletions diff.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from "react";
import { render } from "react-dom";
import { createRoot } from "react-dom/client";
import { diff as DiffEditor } from "../src/index";

import "ace-builds/src-noconflict/mode-jsx";
Expand Down Expand Up @@ -106,5 +106,5 @@ class App extends Component {
);
}
}

render(<App />, document.getElementById("example"));
const root = createRoot(document.getElementById("example"));
root.render(<App />);
5 changes: 3 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from "react";
import { render } from "react-dom";
import { createRoot } from "react-dom/client";
import AceEditor from "../src/ace";

import "ace-builds/src-noconflict/mode-jsx";
Expand Down Expand Up @@ -387,4 +387,5 @@ class App extends Component {
}
}

render(<App />, document.getElementById("example"));
const root = createRoot(document.getElementById("example"));
root.render(<App />);
6 changes: 3 additions & 3 deletions split.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from "react";
import { render } from "react-dom";
import { createRoot } from "react-dom/client";
import SplitAceEditor from "../src/split";
import "ace-builds/src-noconflict/mode-jsx";
import "ace-builds/src-min-noconflict/ext-searchbox";
Expand Down Expand Up @@ -363,5 +363,5 @@ class App extends Component {
);
}
}

render(<App />, document.getElementById("example"));
const root = createRoot(document.getElementById("example"));
root.render(<App />);
40 changes: 37 additions & 3 deletions static/diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -200201,7 +200201,7 @@ webpackContext.id = "./node_modules/ace-builds/src-noconflict sync recursive ^\\
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
/* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom/client */ "./node_modules/react-dom/client.js");
/* harmony import */ var _src_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../src/index */ "./src/index.ts");
/* harmony import */ var ace_builds_src_noconflict_mode_jsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ace-builds/src-noconflict/mode-jsx */ "./node_modules/ace-builds/src-noconflict/mode-jsx.js");
/* harmony import */ var ace_builds_src_noconflict_mode_jsx__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(ace_builds_src_noconflict_mode_jsx__WEBPACK_IMPORTED_MODULE_3__);
Expand Down Expand Up @@ -200306,7 +200306,8 @@ var App = /*#__PURE__*/function (_Component) {
}
}]);
}(react__WEBPACK_IMPORTED_MODULE_0__.Component);
(0,react_dom__WEBPACK_IMPORTED_MODULE_1__.render)( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(App, null), document.getElementById("example"));
var root = (0,react_dom_client__WEBPACK_IMPORTED_MODULE_1__.createRoot)(document.getElementById("example"));
root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(App, null));

/***/ }),

Expand Down Expand Up @@ -237637,6 +237638,39 @@ if (
}


/***/ }),

/***/ "./node_modules/react-dom/client.js":
/*!******************************************!*\
!*** ./node_modules/react-dom/client.js ***!
\******************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

"use strict";


var m = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
if (false) {} else {
var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
exports.createRoot = function(c, o) {
i.usingClientEntryPoint = true;
try {
return m.createRoot(c, o);
} finally {
i.usingClientEntryPoint = false;
}
};
exports.hydrateRoot = function(c, h, o) {
i.usingClientEntryPoint = true;
try {
return m.hydrateRoot(c, h, o);
} finally {
i.usingClientEntryPoint = false;
}
};
}


/***/ }),

/***/ "./node_modules/react-dom/index.js":
Expand Down Expand Up @@ -241206,7 +241240,7 @@ if (false) {} else {
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ (() => {
/******/ __webpack_require__.h = () => ("b96fdccddd72190ce1e1")
/******/ __webpack_require__.h = () => ("49a526cfd962e497dd7d")
/******/ })();
/******/
/******/ /* webpack/runtime/global */
Expand Down
2 changes: 1 addition & 1 deletion static/diff.js.map

Large diffs are not rendered by default.

40 changes: 37 additions & 3 deletions static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -201420,7 +201420,7 @@ webpackContext.id = "./node_modules/ace-builds/src-noconflict sync recursive ^\\
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
/* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom/client */ "./node_modules/react-dom/client.js");
/* harmony import */ var _src_ace__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../src/ace */ "./src/ace.tsx");
/* harmony import */ var _src_ace__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_src_ace__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var ace_builds_src_noconflict_mode_jsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ace-builds/src-noconflict/mode-jsx */ "./node_modules/ace-builds/src-noconflict/mode-jsx.js");
Expand Down Expand Up @@ -201757,7 +201757,8 @@ var App = /*#__PURE__*/function (_Component) {
}
}]);
}(react__WEBPACK_IMPORTED_MODULE_0__.Component);
(0,react_dom__WEBPACK_IMPORTED_MODULE_1__.render)( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(App, null), document.getElementById("example"));
var root = (0,react_dom_client__WEBPACK_IMPORTED_MODULE_1__.createRoot)(document.getElementById("example"));
root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(App, null));

/***/ }),

Expand Down Expand Up @@ -235138,6 +235139,39 @@ if (
}


/***/ }),

/***/ "./node_modules/react-dom/client.js":
/*!******************************************!*\
!*** ./node_modules/react-dom/client.js ***!
\******************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

"use strict";


var m = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
if (false) {} else {
var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
exports.createRoot = function(c, o) {
i.usingClientEntryPoint = true;
try {
return m.createRoot(c, o);
} finally {
i.usingClientEntryPoint = false;
}
};
exports.hydrateRoot = function(c, h, o) {
i.usingClientEntryPoint = true;
try {
return m.hydrateRoot(c, h, o);
} finally {
i.usingClientEntryPoint = false;
}
};
}


/***/ }),

/***/ "./node_modules/react-dom/index.js":
Expand Down Expand Up @@ -238707,7 +238741,7 @@ if (false) {} else {
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ (() => {
/******/ __webpack_require__.h = () => ("b96fdccddd72190ce1e1")
/******/ __webpack_require__.h = () => ("49a526cfd962e497dd7d")
/******/ })();
/******/
/******/ /* webpack/runtime/global */
Expand Down
2 changes: 1 addition & 1 deletion static/index.js.map

Large diffs are not rendered by default.

40 changes: 37 additions & 3 deletions static/split.js
Original file line number Diff line number Diff line change
Expand Up @@ -201616,7 +201616,7 @@ webpackContext.id = "./node_modules/ace-builds/src-noconflict sync recursive ^\\
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/react/index.js");
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
/* harmony import */ var react_dom_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom/client */ "./node_modules/react-dom/client.js");
/* harmony import */ var _src_split__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../src/split */ "./src/split.tsx");
/* harmony import */ var _src_split__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_src_split__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var ace_builds_src_noconflict_mode_jsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ace-builds/src-noconflict/mode-jsx */ "./node_modules/ace-builds/src-noconflict/mode-jsx.js");
Expand Down Expand Up @@ -201949,7 +201949,8 @@ var App = /*#__PURE__*/function (_Component) {
}
}]);
}(react__WEBPACK_IMPORTED_MODULE_0__.Component);
(0,react_dom__WEBPACK_IMPORTED_MODULE_1__.render)( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(App, null), document.getElementById("example"));
var root = (0,react_dom_client__WEBPACK_IMPORTED_MODULE_1__.createRoot)(document.getElementById("example"));
root.render( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(App, null));

/***/ }),

Expand Down Expand Up @@ -236240,6 +236241,39 @@ if (
}


/***/ }),

/***/ "./node_modules/react-dom/client.js":
/*!******************************************!*\
!*** ./node_modules/react-dom/client.js ***!
\******************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {

"use strict";


var m = __webpack_require__(/*! react-dom */ "./node_modules/react-dom/index.js");
if (false) {} else {
var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
exports.createRoot = function(c, o) {
i.usingClientEntryPoint = true;
try {
return m.createRoot(c, o);
} finally {
i.usingClientEntryPoint = false;
}
};
exports.hydrateRoot = function(c, h, o) {
i.usingClientEntryPoint = true;
try {
return m.hydrateRoot(c, h, o);
} finally {
i.usingClientEntryPoint = false;
}
};
}


/***/ }),

/***/ "./node_modules/react-dom/index.js":
Expand Down Expand Up @@ -239809,7 +239843,7 @@ if (false) {} else {
/******/
/******/ /* webpack/runtime/getFullHash */
/******/ (() => {
/******/ __webpack_require__.h = () => ("b96fdccddd72190ce1e1")
/******/ __webpack_require__.h = () => ("49a526cfd962e497dd7d")
/******/ })();
/******/
/******/ /* webpack/runtime/global */
Expand Down
2 changes: 1 addition & 1 deletion static/split.js.map

Large diffs are not rendered by default.

0 comments on commit f23e7ec

Please sign in to comment.