Skip to content

Instantly share code, notes, and snippets.

View arist0tl3's full-sized avatar

Sean arist0tl3

  • San Diego, CA
View GitHub Profile
@arist0tl3
arist0tl3 / exp.js
Last active February 21, 2019 23:30 — forked from currenthandle/exp.js
const container = compose(
withStateHandlers({ errors: [] }, {
setErrors: () => errors => ({ errors }),
}),
graphql(LOGIN_MUTATION, {
props: ({ mutate, ownProps }) => ({
login: input =>
mutate({
variables: {
input,
@arist0tl3
arist0tl3 / gist:431fa3d19c62e14048d9
Created April 20, 2015 19:19
Telescope Title Updates
/client/main.js
- 26 title += ": "+Settings.get("tagline");
+ 26 title = Settings.get("tagline") + ' | ' + title;
/lib/router/posts.js
- 100 var title = Settings.get('title', 'Telescope');
- 102 var fullTitle = !!tagline ? title + ' – ' + tagline : title ;
- 103 return fullTitle;
+ 103 return tagline;