mirror of
https://github.com/Mabbs/mabbs.github.io
synced 2026-10-03 05:07:21 +00:00
Update 2 files
- /assets/js/gitalk.min.js - /_layouts/post.html
This commit is contained in:
1 parent
2d757a0e7c
commit
b7e3354701
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -135,8 +135,8 @@ $.get(BlogAPI + "/suggest?id={{ page.url }}&update=" + lastUpdated.valueOf(), fu
|
||||
|
||||
<script>
|
||||
var gitalk = new Gitalk({
|
||||
clientID: (window.location.host != "mabbs.github.io")?'098934a2556425f19d6e':'36557aec4c3cb04f7ac6',
|
||||
clientSecret: (window.location.host != "mabbs.github.io")?'0bd44eed8425e5437ce43c4ba9b2791fbc04581d':'ac32993299751cb5a9ba81cf2b171cca65879cdb',
|
||||
clientID: '36557aec4c3cb04f7ac6',
|
||||
clientSecret: 'ac32993299751cb5a9ba81cf2b171cca65879cdb',
|
||||
repo: 'mabbs.github.io',
|
||||
owner: 'Mabbs',
|
||||
admin: ['Mabbs'],
|
||||
|
||||
Vendored
+1
-1
@@ -26,7 +26,7 @@ var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.pr
|
||||
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
||||
* @version 4.1.1
|
||||
*/
|
||||
!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function i(e){return"function"==typeof e}function r(e){R=e}function o(e){U=e}function u(){return void 0!==G?function(){G(d)}:s()}function s(){var e=setTimeout;return function(){return e(d,1)}}function d(){for(var e=0;e<q;e+=2){(0,Q[e])(Q[e+1]),Q[e]=void 0,Q[e+1]=void 0}q=0}function c(e,t){var n=arguments,a=this,i=new this.constructor(m);void 0===i[ee]&&N(i);var r=a._state;return r?function(){var e=n[r-1];U(function(){return S(r,i,e,a._result)})}():W(a,i,e,t),i}function l(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(m);return y(n,e),n}function m(){}function f(){return new TypeError("You cannot resolve a promise with itself")}function h(){return new TypeError("A promises callback cannot return that same promise.")}function p(e){try{return e.then}catch(e){return ie.error=e,ie}}function g(e,t,n,a){try{e.call(t,n,a)}catch(e){return e}}function v(e,t,n){U(function(e){var a=!1,i=g(n,t,function(n){a||(a=!0,t!==n?y(e,n):k(e,n))},function(t){a||(a=!0,P(e,t))},"Settle: "+(e._label||" unknown promise"));!a&&i&&(a=!0,P(e,i))},e)}function w(e,t){t._state===ne?k(e,t._result):t._state===ae?P(e,t._result):W(t,void 0,function(t){return y(e,t)},function(t){return P(e,t)})}function b(e,t,n){t.constructor===e.constructor&&n===c&&t.constructor.resolve===l?w(e,t):n===ie?(P(e,ie.error),ie.error=null):void 0===n?k(e,t):i(n)?v(e,t,n):k(e,t)}function y(t,n){t===n?P(t,f()):e(n)?b(t,n,p(n)):k(t,n)}function M(e){e._onerror&&e._onerror(e._result),x(e)}function k(e,t){e._state===te&&(e._result=t,e._state=ne,0!==e._subscribers.length&&U(x,e))}function P(e,t){e._state===te&&(e._state=ae,e._result=t,U(M,e))}function W(e,t,n,a){var i=e._subscribers,r=i.length;e._onerror=null,i[r]=t,i[r+ne]=n,i[r+ae]=a,0===r&&e._state&&U(x,e)}function x(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var a=void 0,i=void 0,r=e._result,o=0;o<t.length;o+=3)a=t[o],i=t[o+n],a?S(n,a,i,r):i(r);e._subscribers.length=0}}function j(){this.error=null}function T(e,t){try{return e(t)}catch(e){return re.error=e,re}}function S(e,t,n,a){var r=i(n),o=void 0,u=void 0,s=void 0,d=void 0;if(r){if(o=T(n,a),o===re?(d=!0,u=o.error,o.error=null):s=!0,t===o)return void P(t,h())}else o=a,s=!0;t._state!==te||(r&&s?y(t,o):d?P(t,u):e===ne?k(t,o):e===ae&&P(t,o))}function C(e,t){try{t(function(t){y(e,t)},function(t){P(e,t)})}catch(t){P(e,t)}}function z(){return oe++}function N(e){e[ee]=oe++,e._state=void 0,e._result=void 0,e._subscribers=[]}function D(e,t){this._instanceConstructor=e,this.promise=new e(m),this.promise[ee]||N(this.promise),L(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?k(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&k(this.promise,this._result))):P(this.promise,E())}function E(){return new Error("Array Methods must be provided an Array")}function H(e){return new D(this,e).promise}function A(e){var t=this;return new t(L(e)?function(n,a){for(var i=e.length,r=0;r<i;r++)t.resolve(e[r]).then(n,a)}:function(e,t){return t(new TypeError("You must pass an array to race."))})}function _(e){var t=this,n=new t(m);return P(n,e),n}function O(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function X(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function I(e){this[ee]=z(),this._result=this._state=void 0,this._subscribers=[],m!==e&&("function"!=typeof e&&O(),this instanceof I?C(this,e):X())}function Y(){var e=void 0;if(void 0!==a)e=a;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=I}var F=void 0;F=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var L=F,q=0,G=void 0,R=void 0,U=function(e,t){Q[q]=e,Q[q+1]=t,2===(q+=2)&&(R?R(d):Z())},K="undefined"!=typeof window?window:void 0,J=K||{},B=J.MutationObserver||J.WebKitMutationObserver,$="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),V="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Q=new Array(1e3),Z=void 0;Z=$?function(){return function(){return t.nextTick(d)}}():B?function(){var e=0,t=new B(d),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}():V?function(){var e=new MessageChannel;return e.port1.onmessage=d,function(){return e.port2.postMessage(0)}}():void 0===K?function(){try{var e=n(206);return G=e.runOnLoop||e.runOnContext,u()}catch(e){return s()}}():s();Line truncated
|
||||
!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}function i(e){return"function"==typeof e}function r(e){R=e}function o(e){U=e}function u(){return void 0!==G?function(){G(d)}:s()}function s(){var e=setTimeout;return function(){return e(d,1)}}function d(){for(var e=0;e<q;e+=2){(0,Q[e])(Q[e+1]),Q[e]=void 0,Q[e+1]=void 0}q=0}function c(e,t){var n=arguments,a=this,i=new this.constructor(m);void 0===i[ee]&&N(i);var r=a._state;return r?function(){var e=n[r-1];U(function(){return S(r,i,e,a._result)})}():W(a,i,e,t),i}function l(e){var t=this;if(e&&"object"==typeof e&&e.constructor===t)return e;var n=new t(m);return y(n,e),n}function m(){}function f(){return new TypeError("You cannot resolve a promise with itself")}function h(){return new TypeError("A promises callback cannot return that same promise.")}function p(e){try{return e.then}catch(e){return ie.error=e,ie}}function g(e,t,n,a){try{e.call(t,n,a)}catch(e){return e}}function v(e,t,n){U(function(e){var a=!1,i=g(n,t,function(n){a||(a=!0,t!==n?y(e,n):k(e,n))},function(t){a||(a=!0,P(e,t))},"Settle: "+(e._label||" unknown promise"));!a&&i&&(a=!0,P(e,i))},e)}function w(e,t){t._state===ne?k(e,t._result):t._state===ae?P(e,t._result):W(t,void 0,function(t){return y(e,t)},function(t){return P(e,t)})}function b(e,t,n){t.constructor===e.constructor&&n===c&&t.constructor.resolve===l?w(e,t):n===ie?(P(e,ie.error),ie.error=null):void 0===n?k(e,t):i(n)?v(e,t,n):k(e,t)}function y(t,n){t===n?P(t,f()):e(n)?b(t,n,p(n)):k(t,n)}function M(e){e._onerror&&e._onerror(e._result),x(e)}function k(e,t){e._state===te&&(e._result=t,e._state=ne,0!==e._subscribers.length&&U(x,e))}function P(e,t){e._state===te&&(e._state=ae,e._result=t,U(M,e))}function W(e,t,n,a){var i=e._subscribers,r=i.length;e._onerror=null,i[r]=t,i[r+ne]=n,i[r+ae]=a,0===r&&e._state&&U(x,e)}function x(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var a=void 0,i=void 0,r=e._result,o=0;o<t.length;o+=3)a=t[o],i=t[o+n],a?S(n,a,i,r):i(r);e._subscribers.length=0}}function j(){this.error=null}function T(e,t){try{return e(t)}catch(e){return re.error=e,re}}function S(e,t,n,a){var r=i(n),o=void 0,u=void 0,s=void 0,d=void 0;if(r){if(o=T(n,a),o===re?(d=!0,u=o.error,o.error=null):s=!0,t===o)return void P(t,h())}else o=a,s=!0;t._state!==te||(r&&s?y(t,o):d?P(t,u):e===ne?k(t,o):e===ae&&P(t,o))}function C(e,t){try{t(function(t){y(e,t)},function(t){P(e,t)})}catch(t){P(e,t)}}function z(){return oe++}function N(e){e[ee]=oe++,e._state=void 0,e._result=void 0,e._subscribers=[]}function D(e,t){this._instanceConstructor=e,this.promise=new e(m),this.promise[ee]||N(this.promise),L(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?k(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&k(this.promise,this._result))):P(this.promise,E())}function E(){return new Error("Array Methods must be provided an Array")}function H(e){return new D(this,e).promise}function A(e){var t=this;return new t(L(e)?function(n,a){for(var i=e.length,r=0;r<i;r++)t.resolve(e[r]).then(n,a)}:function(e,t){return t(new TypeError("You must pass an array to race."))})}function _(e){var t=this,n=new t(m);return P(n,e),n}function O(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function X(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function I(e){this[ee]=z(),this._result=this._state=void 0,this._subscribers=[],m!==e&&("function"!=typeof e&&O(),this instanceof I?C(this,e):X())}function Y(){var e=void 0;if(void 0!==a)e=a;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=I}var F=void 0;F=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};var L=F,q=0,G=void 0,R=void 0,U=function(e,t){Q[q]=e,Q[q+1]=t,2===(q+=2)&&(R?R(d):Z())},K="undefined"!=typeof window?window:void 0,J=K||{},B=J.MutationObserver||J.WebKitMutationObserver,$="undefined"==typeof self&&void 0!==t&&"[object process]"==={}.toString.call(t),V="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,Q=new Array(1e3),Z=void 0;Z=$?function(){return function(){return t.nextTick(d)}}():B?function(){var e=0,t=new B(d),n=document.createTextNode("");return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}():V?function(){var e=new MessageChannel;return e.port1.onmessage=d,function(){return e.port2.postMessage(0)}}():void 0===K?function(){try{var e=n(206);return G=e.runOnLoop||e.runOnContext,u()}catch(e){return s()}}():s();Line truncated
|
||||
Autosize 3.0.21
|
||||
license: MIT
|
||||
http://www.jacklmoore.com/autosize
|
||||
|
||||
Reference in new issue
Block a user