Skip to content

Instantly share code, notes, and snippets.

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
/** -----------------
* main.js
* ------------------
*/
import React from 'react';
import HelloMessage from './HelloMessage.jsx';
import logger from './logger.js';
var data = { name: 'Zak' };
module.exports = BusService;
var BackboneEvents = require('backbone-events-standalone');
/**
* Set up global event bus
* @constructor
* @param {Application} app
*/
function BusService(app)
module.exports = Messenger;
/**
* Event messenger
* @constructor
*/
function Messenger()
{
}
module.exports = Eventable;
/**
* Provide a mixin-able interface for registering DOM events
*/
function Eventable()
{
}
/**
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
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';
/**
* @param {GainNode} gainAmount
*/
_turnMusicUp(gainAmount)
{
var music = this.sound.getCurrentMusic();
var currentGain = this.sound.getGainValue(music);
this.sound.fadeIn(music, 1000, currentGain, gainAmount);
}
/**
* Display loading indicator while view model data is being synced
* Set up container view and its subviews
* Fade in container
* @return {Promise}
*/
StreamController.prototype.start = function()
{
this.container = this.setupCommunityStream();
this.loadingIndicator = this.setupLoadingIndicator();
module.exports = CSTransport;
var Promise = require('bluebird');
var HttpTransport = require('http-transport');
var jsonpClient = require('jsonp-client');
var path = require('path');
var urlUtil = require('url');
function CSTransport()
{