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
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'; |
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
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 |
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
module.exports = Eventable; | |
/** | |
* Provide a mixin-able interface for registering DOM events | |
*/ | |
function Eventable() | |
{ | |
} | |
/** |
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
module.exports = Messenger; | |
/** | |
* Event messenger | |
* @constructor | |
*/ | |
function Messenger() | |
{ | |
} |
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
module.exports = BusService; | |
var BackboneEvents = require('backbone-events-standalone'); | |
/** | |
* Set up global event bus | |
* @constructor | |
* @param {Application} app | |
*/ | |
function BusService(app) |
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
/** ----------------- | |
* main.js | |
* ------------------ | |
*/ | |
import React from 'react'; | |
import HelloMessage from './HelloMessage.jsx'; | |
import logger from './logger.js'; | |
var data = { name: 'Zak' }; |
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
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 |
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
set nocompatible | |
filetype off | |
" -------------------------------------------------- | |
" Vundle | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' |
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
set nocompatible | |
filetype off | |
" -------------------------------------------------- | |
" Vundle | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' |
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 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'); |