Skip to content

Instantly share code, notes, and snippets.

Alexander Savin apsavin

Block or report user

Report or block apsavin

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
@apsavin
apsavin / withStyles.js
Created Feb 14, 2019
Themes for isomorphic-style-loader
View withStyles.js
// @flow
import * as React from 'react';
import PropTypes from 'prop-types';
const contextTypes = {
insertCss: PropTypes.func,
};
type StylesContextType = KeyValueOfType<Object>;
const { Provider, Consumer } = React.createContext<StylesContextType>({});
@apsavin
apsavin / gulpfile.js
Created Dec 27, 2014
gulp file for bnsf project
View gulpfile.js
var gulp = require('gulp'),
nodemon = require('gulp-nodemon'),
shell = require('gulp-shell');
gulp.task('build', shell.task([
'bem make'
]));
var nodemonInstance;
gulp.task('run', ['build'], function () {
You can’t perform that action at this time.