hexo-component-inferno 3.0.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/schema/comment/giscus.json +105 -0
- package/lib/schema/schema/comment/giscus.json +105 -0
- package/lib/view/comment/changyan.js +11 -12
- package/lib/view/comment/disqus.js +11 -12
- package/lib/view/comment/disqusjs.js +11 -12
- package/lib/view/comment/facebook.js +11 -12
- package/lib/view/comment/giscus.js +201 -0
- package/lib/view/comment/gitalk.js +11 -12
- package/lib/view/comment/gitment.js +11 -12
- package/lib/view/comment/isso.js +11 -12
- package/lib/view/comment/livere.js +11 -12
- package/lib/view/comment/twikoo.js +11 -12
- package/lib/view/comment/utterances.js +12 -13
- package/lib/view/comment/valine.js +11 -12
- package/lib/view/comment/waline.js +11 -12
- package/lib/view/common/article_media.js +11 -12
- package/lib/view/donate/afdian.js +11 -12
- package/lib/view/donate/alipay.js +11 -12
- package/lib/view/donate/buymeacoffee.js +11 -12
- package/lib/view/donate/patreon.js +11 -12
- package/lib/view/donate/paypal.js +11 -12
- package/lib/view/donate/wechat.js +11 -12
- package/lib/view/misc/article_licensing.js +11 -12
- package/lib/view/misc/meta.js +12 -13
- package/lib/view/misc/open_graph.js +11 -12
- package/lib/view/misc/paginator.js +11 -12
- package/lib/view/misc/structured_data.js +11 -12
- package/lib/view/misc/web_app.js +16 -17
- package/lib/view/plugin/baidu_analytics.js +11 -12
- package/lib/view/plugin/bing_webmaster.js +11 -12
- package/lib/view/plugin/busuanzi.js +11 -12
- package/lib/view/plugin/cnzz.js +11 -12
- package/lib/view/plugin/cookie_consent.js +11 -12
- package/lib/view/plugin/gallery.js +11 -12
- package/lib/view/plugin/google_analytics.js +11 -12
- package/lib/view/plugin/hotjar.js +11 -12
- package/lib/view/plugin/katex.js +11 -12
- package/lib/view/plugin/mathjax.js +11 -12
- package/lib/view/plugin/outdated_browser.js +11 -12
- package/lib/view/plugin/progressbar.js +11 -12
- package/lib/view/plugin/statcounter.js +11 -12
- package/lib/view/plugin/twitter_conversion_tracking.js +11 -12
- package/lib/view/search/algolia.js +11 -12
- package/lib/view/search/baidu.js +11 -12
- package/lib/view/search/google_cse.js +11 -12
- package/lib/view/search/insight.js +11 -12
- package/lib/view/share/addthis.js +11 -12
- package/lib/view/share/addtoany.js +11 -12
- package/lib/view/share/bdshare.js +11 -12
- package/lib/view/share/sharejs.js +11 -12
- package/lib/view/share/sharethis.js +11 -12
- package/lib/view/widget/adsense.js +11 -12
- package/lib/view/widget/archives.js +11 -12
- package/lib/view/widget/categories.js +11 -12
- package/lib/view/widget/followit.js +11 -12
- package/lib/view/widget/links.js +11 -12
- package/lib/view/widget/recent_posts.js +11 -12
- package/lib/view/widget/subscribe_email.js +11 -12
- package/lib/view/widget/tags.js +11 -12
- package/lib/view/widget/toc.js +14 -15
- package/lib/view/widget/toc.test.js +2 -2
- package/package.json +3 -2
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/comment/giscus.json",
|
|
4
|
+
"description": "Giscus comment plugin configurations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "giscus"
|
|
10
|
+
},
|
|
11
|
+
"repo": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "GitHub repository to which Giscus connects"
|
|
14
|
+
},
|
|
15
|
+
"repoId": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "GitHub repository id to which Giscus connects"
|
|
18
|
+
},
|
|
19
|
+
"category": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "The discussion category where new discussions will be created",
|
|
22
|
+
"default": "Announcements",
|
|
23
|
+
"nullable": true
|
|
24
|
+
},
|
|
25
|
+
"categoryId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Id code of the category of Github discussions which Giscus will access to"
|
|
28
|
+
},
|
|
29
|
+
"mapping": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "The mapping between the embedding page and the embedded discussion",
|
|
32
|
+
"enum": ["pathname", "url", "title", "og:title", "specific", "number"],
|
|
33
|
+
"default": "pathname",
|
|
34
|
+
"nullable": true
|
|
35
|
+
},
|
|
36
|
+
"strict": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"description": "Avoid mismatches due to GitHub's fuzzy searching method when there are multiple discussions with similar titles",
|
|
39
|
+
"default": false,
|
|
40
|
+
"nullable": true
|
|
41
|
+
},
|
|
42
|
+
"reactionsEnabled": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"description": "Whether enable reactions",
|
|
45
|
+
"default": false,
|
|
46
|
+
"nullable": true
|
|
47
|
+
},
|
|
48
|
+
"emitMetadata": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Whether will discussion emit metadata",
|
|
51
|
+
"default": false,
|
|
52
|
+
"nullable": true
|
|
53
|
+
},
|
|
54
|
+
"inputPosition": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Where the input block will display",
|
|
57
|
+
"enum": ["top", "bottom"],
|
|
58
|
+
"default": "top",
|
|
59
|
+
"nullable": true
|
|
60
|
+
},
|
|
61
|
+
"theme": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "Giscus look and feel",
|
|
64
|
+
"enum": [
|
|
65
|
+
"light",
|
|
66
|
+
"light_high_contrast",
|
|
67
|
+
"light_protanopia",
|
|
68
|
+
"light_tritanopia",
|
|
69
|
+
"dark",
|
|
70
|
+
"dark_high_contrast",
|
|
71
|
+
"dark_protanopia",
|
|
72
|
+
"dark_tritanopia",
|
|
73
|
+
"dark_dimmed",
|
|
74
|
+
"preferred_color_scheme",
|
|
75
|
+
"transparent_dark",
|
|
76
|
+
"noborder_light",
|
|
77
|
+
"noborder_dark",
|
|
78
|
+
"noborder_gray",
|
|
79
|
+
"cobalt",
|
|
80
|
+
"purple_dark",
|
|
81
|
+
"custom"
|
|
82
|
+
],
|
|
83
|
+
"default": "noborder_light",
|
|
84
|
+
"nullable": true
|
|
85
|
+
},
|
|
86
|
+
"customThemeCss": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "The url of custom Giscus theme css, only affect when theme is set to custom",
|
|
89
|
+
"nullable": true
|
|
90
|
+
},
|
|
91
|
+
"lang": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "Language of Giscus",
|
|
94
|
+
"default": "en",
|
|
95
|
+
"nullable": true
|
|
96
|
+
},
|
|
97
|
+
"lazy": {
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"description": "Loading of the comments will be deferred until the user scrolls near the comments container",
|
|
100
|
+
"default": false,
|
|
101
|
+
"nullable": true
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": ["repo", "repoId", "categoryId"]
|
|
105
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "/comment/giscus.json",
|
|
4
|
+
"description": "Giscus comment plugin configurations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "giscus"
|
|
10
|
+
},
|
|
11
|
+
"repo": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "GitHub repository to which Giscus connects"
|
|
14
|
+
},
|
|
15
|
+
"repoId": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "GitHub repository id to which Giscus connects"
|
|
18
|
+
},
|
|
19
|
+
"category": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "The discussion category where new discussions will be created",
|
|
22
|
+
"default": "Announcements",
|
|
23
|
+
"nullable": true
|
|
24
|
+
},
|
|
25
|
+
"categoryId": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "Id code of the category of Github discussions which Giscus will access to"
|
|
28
|
+
},
|
|
29
|
+
"mapping": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "The mapping between the embedding page and the embedded discussion",
|
|
32
|
+
"enum": ["pathname", "url", "title", "og:title", "specific", "number"],
|
|
33
|
+
"default": "pathname",
|
|
34
|
+
"nullable": true
|
|
35
|
+
},
|
|
36
|
+
"strict": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"description": "Avoid mismatches due to GitHub's fuzzy searching method when there are multiple discussions with similar titles",
|
|
39
|
+
"default": false,
|
|
40
|
+
"nullable": true
|
|
41
|
+
},
|
|
42
|
+
"reactionsEnabled": {
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"description": "Whether enable reactions",
|
|
45
|
+
"default": false,
|
|
46
|
+
"nullable": true
|
|
47
|
+
},
|
|
48
|
+
"emitMetadata": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Whether will discussion emit metadata",
|
|
51
|
+
"default": false,
|
|
52
|
+
"nullable": true
|
|
53
|
+
},
|
|
54
|
+
"inputPosition": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Where the input block will display",
|
|
57
|
+
"enum": ["top", "bottom"],
|
|
58
|
+
"default": "top",
|
|
59
|
+
"nullable": true
|
|
60
|
+
},
|
|
61
|
+
"theme": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "Giscus look and feel",
|
|
64
|
+
"enum": [
|
|
65
|
+
"light",
|
|
66
|
+
"light_high_contrast",
|
|
67
|
+
"light_protanopia",
|
|
68
|
+
"light_tritanopia",
|
|
69
|
+
"dark",
|
|
70
|
+
"dark_high_contrast",
|
|
71
|
+
"dark_protanopia",
|
|
72
|
+
"dark_tritanopia",
|
|
73
|
+
"dark_dimmed",
|
|
74
|
+
"preferred_color_scheme",
|
|
75
|
+
"transparent_dark",
|
|
76
|
+
"noborder_light",
|
|
77
|
+
"noborder_dark",
|
|
78
|
+
"noborder_gray",
|
|
79
|
+
"cobalt",
|
|
80
|
+
"purple_dark",
|
|
81
|
+
"custom"
|
|
82
|
+
],
|
|
83
|
+
"default": "noborder_light",
|
|
84
|
+
"nullable": true
|
|
85
|
+
},
|
|
86
|
+
"customThemeCss": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "The url of custom Giscus theme css, only affect when theme is set to custom",
|
|
89
|
+
"nullable": true
|
|
90
|
+
},
|
|
91
|
+
"lang": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "Language of Giscus",
|
|
94
|
+
"default": "en",
|
|
95
|
+
"nullable": true
|
|
96
|
+
},
|
|
97
|
+
"lazy": {
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"description": "Loading of the comments will be deferred until the user scrolls near the comments container",
|
|
100
|
+
"default": false,
|
|
101
|
+
"nullable": true
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"required": ["repo", "repoId", "categoryId"]
|
|
105
|
+
}
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* ChangYan comment JSX component.
|
|
19
19
|
* @module view/comment/changyan
|
|
@@ -34,12 +34,12 @@ var _require2 = require('../../util/cache'),
|
|
|
34
34
|
* path="/path/to/page" />
|
|
35
35
|
*/
|
|
36
36
|
var ChangYan = /*#__PURE__*/function (_Component) {
|
|
37
|
-
_inherits(ChangYan, _Component);
|
|
38
37
|
function ChangYan() {
|
|
39
38
|
_classCallCheck(this, ChangYan);
|
|
40
39
|
return _callSuper(this, ChangYan, arguments);
|
|
41
40
|
}
|
|
42
|
-
|
|
41
|
+
_inherits(ChangYan, _Component);
|
|
42
|
+
return _createClass(ChangYan, [{
|
|
43
43
|
key: "render",
|
|
44
44
|
value: function render() {
|
|
45
45
|
var _this$props = this.props,
|
|
@@ -65,7 +65,6 @@ var ChangYan = /*#__PURE__*/function (_Component) {
|
|
|
65
65
|
/* eslint-enable react/no-unknown-property */
|
|
66
66
|
}
|
|
67
67
|
}]);
|
|
68
|
-
return ChangYan;
|
|
69
68
|
}(Component);
|
|
70
69
|
/**
|
|
71
70
|
* Cacheable ChangYan comment JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Disqus comment JSX component.
|
|
19
19
|
* @module view/comment/disqus
|
|
@@ -35,12 +35,12 @@ var _require2 = require('../../util/cache'),
|
|
|
35
35
|
* path="/path/to/page" />
|
|
36
36
|
*/
|
|
37
37
|
var Disqus = /*#__PURE__*/function (_Component) {
|
|
38
|
-
_inherits(Disqus, _Component);
|
|
39
38
|
function Disqus() {
|
|
40
39
|
_classCallCheck(this, Disqus);
|
|
41
40
|
return _callSuper(this, Disqus, arguments);
|
|
42
41
|
}
|
|
43
|
-
|
|
42
|
+
_inherits(Disqus, _Component);
|
|
43
|
+
return _createClass(Disqus, [{
|
|
44
44
|
key: "render",
|
|
45
45
|
value: function render() {
|
|
46
46
|
var _this$props = this.props,
|
|
@@ -63,7 +63,6 @@ var Disqus = /*#__PURE__*/function (_Component) {
|
|
|
63
63
|
})], 4);
|
|
64
64
|
}
|
|
65
65
|
}]);
|
|
66
|
-
return Disqus;
|
|
67
66
|
}(Component);
|
|
68
67
|
/**
|
|
69
68
|
* Cacheable Disqus comment JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* DisqusJS comment JSX component.
|
|
19
19
|
* @module view/comment/disqusjs
|
|
@@ -44,12 +44,12 @@ var _require2 = require('../../util/cache'),
|
|
|
44
44
|
* cssUrl="/path/to/disqusjs.css" />
|
|
45
45
|
*/
|
|
46
46
|
var DisqusJs = /*#__PURE__*/function (_Component) {
|
|
47
|
-
_inherits(DisqusJs, _Component);
|
|
48
47
|
function DisqusJs() {
|
|
49
48
|
_classCallCheck(this, DisqusJs);
|
|
50
49
|
return _callSuper(this, DisqusJs, arguments);
|
|
51
50
|
}
|
|
52
|
-
|
|
51
|
+
_inherits(DisqusJs, _Component);
|
|
52
|
+
return _createClass(DisqusJs, [{
|
|
53
53
|
key: "render",
|
|
54
54
|
value: function render() {
|
|
55
55
|
var _this$props = this.props,
|
|
@@ -88,7 +88,6 @@ var DisqusJs = /*#__PURE__*/function (_Component) {
|
|
|
88
88
|
})], 4);
|
|
89
89
|
}
|
|
90
90
|
}]);
|
|
91
|
-
return DisqusJs;
|
|
92
91
|
}(Component);
|
|
93
92
|
/**
|
|
94
93
|
* Cacheable DisqusJS comment JSX component.
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
var _inferno = require("inferno");
|
|
5
|
-
function _classCallCheck(
|
|
6
|
-
function _defineProperties(
|
|
7
|
-
function _createClass(
|
|
8
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i :
|
|
5
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
6
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
7
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
8
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
11
|
-
function _possibleConstructorReturn(
|
|
12
|
-
function _assertThisInitialized(
|
|
11
|
+
function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
|
|
12
|
+
function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
function _getPrototypeOf(
|
|
15
|
-
function _inherits(
|
|
16
|
-
function _setPrototypeOf(
|
|
14
|
+
function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
|
|
15
|
+
function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
|
|
16
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
17
17
|
/**
|
|
18
18
|
* Facebook comment JSX component.
|
|
19
19
|
* @module view/comment/facebook
|
|
@@ -33,12 +33,12 @@ var _require2 = require('../../util/cache'),
|
|
|
33
33
|
* permalink="/page/permanent/path" />
|
|
34
34
|
*/
|
|
35
35
|
var Facebook = /*#__PURE__*/function (_Component) {
|
|
36
|
-
_inherits(Facebook, _Component);
|
|
37
36
|
function Facebook() {
|
|
38
37
|
_classCallCheck(this, Facebook);
|
|
39
38
|
return _callSuper(this, Facebook, arguments);
|
|
40
39
|
}
|
|
41
|
-
|
|
40
|
+
_inherits(Facebook, _Component);
|
|
41
|
+
return _createClass(Facebook, [{
|
|
42
42
|
key: "render",
|
|
43
43
|
value: function render() {
|
|
44
44
|
var _this$props = this.props,
|
|
@@ -57,7 +57,6 @@ var Facebook = /*#__PURE__*/function (_Component) {
|
|
|
57
57
|
})], 4);
|
|
58
58
|
}
|
|
59
59
|
}]);
|
|
60
|
-
return Facebook;
|
|
61
60
|
}(Component);
|
|
62
61
|
/**
|
|
63
62
|
* Cacheable Facebook comment JSX component.
|