@servicetitan/ko-bridge
Advanced tools
Comparing version 5.3.4 to 6.0.0
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HtmlComment = void 0; | ||
const react_1 = __importDefault(require("react")); | ||
@@ -17,4 +18,5 @@ class HtmlComment extends react_1.default.Component { | ||
componentDidMount() { | ||
var _a, _b; | ||
this.spanNode = this.ref.current; | ||
this.parentNode = this.spanNode && this.spanNode.parentNode; | ||
this.parentNode = (_b = (_a = this.spanNode) === null || _a === void 0 ? void 0 : _a.parentNode) !== null && _b !== void 0 ? _b : null; | ||
if (this.parentNode && this.spanNode) { | ||
@@ -21,0 +23,0 @@ this.commentNode = document.createComment(this.props.text); |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__export(require("./html-comment")); | ||
__export(require("./knockout-component")); | ||
__export(require("./ko-binding-handlers")); | ||
__export(require("./ko-observable-to-mobx")); | ||
__exportStar(require("./html-comment"), exports); | ||
__exportStar(require("./knockout-component"), exports); | ||
__exportStar(require("./ko-binding-handlers"), exports); | ||
__exportStar(require("./ko-observable-to-mobx"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.KnockoutComponent = void 0; | ||
/* eslint-disable no-console */ | ||
@@ -8,0 +9,0 @@ const react_1 = __importDefault(require("react")); |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.koBindingHandlers = void 0; | ||
const react_1 = __importDefault(require("react")); | ||
@@ -8,0 +9,0 @@ const react_dom_1 = __importDefault(require("react-dom")); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.convertKoObservableToMobx = exports.koObservableToMobx = void 0; | ||
const mobx_1 = require("mobx"); | ||
@@ -4,0 +5,0 @@ /** |
{ | ||
"name": "@servicetitan/ko-bridge", | ||
"version": "5.3.4", | ||
"version": "6.0.0", | ||
"description": "", | ||
@@ -38,3 +38,3 @@ "homepage": "https://docs.st.dev/docs/frontend/ko-bridge", | ||
}, | ||
"gitHead": "4c17f011eded67ca941ceb8530ee132b63aa270c" | ||
"gitHead": "10b88ace02b5ad24c71512defcd7dd6beec1ca9e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
34395
664