Skip to content

Instantly share code, notes, and snippets.

View floatdrop's full-sized avatar
🐒

Vsevolod Strukchinsky floatdrop

🐒
View GitHub Profile
var B = require('b_');
var Array_of = function (any) {
return Array.prototype.slice.call(any);
};
B.with = function () {
var b = this,
curriedArgs = Array_of(arguments);
var Controller = function (name) {
if (!name) {
return new Error('Controller name is not defined!');
}
var controller = this.controller = require('./' + name);
Object.keys(controller).forEach(function (method) {
this.setMethod(method);
}.bind(this));
'use strict';
var gulp = require('gulp'),
gutil = require('gulp-util'),
jscs = require('gulp-jscs'),
jshint = require('gulp-jshint'),
tslint = require('gulp-tslint'),
typedoc = require('gulp-typedoc'),
react = require('gulp-react'),
typescript = require('gulp-tsc'),
'use strict';
var gulp = require('gulp'),
gutil = require('gulp-util'),
tslint = require('gulp-tslint'),
typescript = require('gulp-tsc'),
watch = require('gulp-watch'),
plumber = require('gulp-plumber'),
//livereloadEmbed = require('gulp-embedlr'),
// Include gulp
var gulp = require('gulp');
// Include plugins
var watch = require('gulp-watch');
var plumber = require('gulp-plumber');
var sass = require('gulp-sass');
var prefix = require('gulp-autoprefixer');
var minifycss = require('gulp-minify-css');
var rename = require('gulp-rename');
@floatdrop
floatdrop / watchem.js
Last active November 24, 2016 02:36 — forked from yocontra/watchem.js
var gulp = require('gulp');
var browserify = require('gulp-browserify');
var less = require('gulp-less');
var concat = require('gulp-concat');
var jshint = require('gulp-jshint');
var watch = require('gulp-watch');
var outDir = './temp';
var isWatch = false;