Skip to content

Instantly share code, notes, and snippets.

@knowthen
Created June 29, 2018 23:10
Show Gist options
  • Save knowthen/bcfc82a18759d715435faec0879a2f83 to your computer and use it in GitHub Desktop.
Save knowthen/bcfc82a18759d715435faec0879a2f83 to your computer and use it in GitHub Desktop.
parcelRequire=function(e,r,n,t){var i="function"==typeof parcelRequire&&parcelRequire,o="function"==typeof require&&require;function u(n,t){if(!r[n]){if(!e[n]){var f="function"==typeof parcelRequire&&parcelRequire;if(!t&&f)return f(n,!0);if(i)return i(n,!0);if(o&&"string"==typeof n)return o(n);var c=new Error("Cannot find module '"+n+"'");throw c.code="MODULE_NOT_FOUND",c}p.resolve=function(r){return e[n][1][r]||r};var l=r[n]=new u.Module(n);e[n][0].call(l.exports,p,l,l.exports,this)}return r[n].exports;function p(e){return u(p.resolve(e))}}u.isParcelRequire=!0,u.Module=function(e){this.id=e,this.bundle=u,this.exports={}},u.modules=e,u.cache=r,u.parent=i,u.register=function(r,n){e[r]=[function(e,r){r.exports=n},{}]};for(var f=0;f<n.length;f++)u(n[f]);if(n.length){var c=u(n[n.length-1]);"object"==typeof exports&&"undefined"!=typeof module?module.exports=c:"function"==typeof define&&define.amd?define(function(){return c}):t&&(this[t]=c)}return u}({1:[function(require,module,exports) {
var e={method:"POST",headers:{"Content-Type":"application/json"}},n=function(n){return function(r){var t=r.query,a=r.variables,o=r.operationName,i=JSON.stringify({query:t,variables:a,operationName:o});return fetch(n,Object.assign({},e,{body:i})).then(function(e){return e.json()})}};window.graphQLFetch=n;
},{}]},{},[1], null)
//# sourceMappingURL=/index.map
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment