1
0
mirror of https://gitlab.com/MisterBiggs/blog-static.git synced 2025-07-24 15:11:37 +00:00

remove partners

This commit is contained in:
2022-01-25 10:40:06 -07:00
parent 2709115ce1
commit 085e1d4ec2
35 changed files with 23895 additions and 12818 deletions

View File

@@ -1 +1,44 @@
!function(){var o,i,n,e,r="http://localhost:8080/ghost/api/v0.1/";n={api:function(){var n,e=Array.prototype.slice.call(arguments),t=r;return(n=e.pop())&&"object"!=typeof n&&(e.push(n),n={}),(n=n||{}).client_id=o,n.client_secret=i,e.length&&e.forEach(function(n){t+=n.replace(/^\/|\/$/g,"")+"/"}),t+function(n){var e,t=[];if(!n)return"";for(e in n)n.hasOwnProperty(e)&&(n[e]||!1===n[e])&&t.push(e+"="+encodeURIComponent(n[e]));return t.length?"?"+t.join("&"):""}(n)}},e=function(n){o=n.clientId?n.clientId:"",i=n.clientSecret?n.clientSecret:"",r=n.url?n.url:r.match(/{\{api-url}}/)?"":r},"undefined"!=typeof window&&(window.ghost=window.ghost||{},window.ghost.url=n,window.ghost.init=e),"undefined"!=typeof module&&(module.exports={url:n,init:e})}();
!(function () {
var o,
i,
n,
e,
r = "https://blog.ansonbiggs.com/ghost/api/v0.1/";
(n = {
api: function () {
var n,
e = Array.prototype.slice.call(arguments),
t = r;
return (
(n = e.pop()) && "object" != typeof n && (e.push(n), (n = {})),
((n = n || {}).client_id = o),
(n.client_secret = i),
e.length &&
e.forEach(function (n) {
t += n.replace(/^\/|\/$/g, "") + "/";
}),
t +
(function (n) {
var e,
t = [];
if (!n) return "";
for (e in n)
n.hasOwnProperty(e) &&
(n[e] || !1 === n[e]) &&
t.push(e + "=" + encodeURIComponent(n[e]));
return t.length ? "?" + t.join("&") : "";
})(n)
);
},
}),
(e = function (n) {
(o = n.clientId ? n.clientId : ""),
(i = n.clientSecret ? n.clientSecret : ""),
(r = n.url ? n.url : r.match(/{\{api-url}}/) ? "" : r);
}),
"undefined" != typeof window &&
((window.ghost = window.ghost || {}),
(window.ghost.url = n),
(window.ghost.init = e)),
"undefined" != typeof module && (module.exports = { url: n, init: e });
})();