This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |