Skip to content

Instantly share code, notes, and snippets.

import Promise from 'bluebird';
import extend from 'extend';
import urlUtil from 'url';
import _ from 'underscore';
import debug from 'debug';
// Models
import PostList from './models/PostList.js';
import InfluencerList from './models/InfluencerList.js';
import ContentList from './models/ContentList.js';
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on 6ba38b04 (lxc-fedora17 m1.small small) in workspace /scratch/jenkins/workspace/CommunityStream
Deleting this stale workspace
[ssh-agent] Using credentials w2o_release (For use with bitbucket repos)
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Java/JNR ssh-agent
[ssh-agent] Started.
Cloning the remote Git repository
Cloning repository [email protected]:W2ODigital/sbp_community_stream.git
module.exports = Eventable;
/**
* Provide a mixin-able interface for registering DOM events
*/
function Eventable()
{
}
/**
module.exports = Messenger;
/**
* Event messenger
* @constructor
*/
function Messenger()
{
}
module.exports = BusService;
var BackboneEvents = require('backbone-events-standalone');
/**
* Set up global event bus
* @constructor
* @param {Application} app
*/
function BusService(app)
/** -----------------
* main.js
* ------------------
*/
import React from 'react';
import HelloMessage from './HelloMessage.jsx';
import logger from './logger.js';
var data = { name: 'Zak' };
module.exports = function(grunt) {
// Configs
grunt.config('debugPath' , './dist/debug/');
grunt.config('releasePath' , './dist/release/');
grunt.config('jsOutput' , 'main.js');
grunt.config('jsVendorOutput', 'vendor.js');
grunt.config('cssOutput' , 'style.css');
// Build debug by default
@zxqx
zxqx / .vimrc
Created February 23, 2015 17:27
set nocompatible
filetype off
" --------------------------------------------------
" Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
@zxqx
zxqx / .vimrc
Created February 23, 2015 21:34
set nocompatible
filetype off
" --------------------------------------------------
" Vundle
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
@zxqx
zxqx / sass.js
Last active August 29, 2015 14:16
var path = require('path');
module.exports = function(grunt)
{
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.registerTask('client-compile-sass', function() {
// This is set via the Gruntfile with grunt.config
var brands = grunt.config.get('brands');