Skip to content

Instantly share code, notes, and snippets.

Daphne Maddox laurelnaiad

Block or report user

Report or block laurelnaiad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

If you're using SystemJS in the browser, you'll want to update your System config to point at the bundles, if you're not already.

  //use typescript for simple compilation (no typechecking)
  //transpiler: 'typescript',
  //typescript compiler options
  //typescriptOptions: {
    //emitDecoratorMetadata: true
taion / registry.js
Last active May 7, 2019
Relay type registry
View registry.js
import decamelize from 'decamelize';
import { fromGlobalId } from 'graphql-relay';
import pluralize from 'pluralize';
import getItem from '../api/getItem';
const types = {};
const endpoints = {};
const getItemOverrides = {};
tj / example.js
Created Jul 31, 2013
View example.js
function params(fn) {
var str = fn.toString();
var sig = str.match(/\(([^)]*)\)/)[1];
if (!sig) return [];
return sig.split(', ');
console.api = function(obj){
var proto = Object.getPrototypeOf(obj);
You can’t perform that action at this time.