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) { | |
grunt.initConfig({ | |
less: { | |
development: { | |
options: { | |
compress: true, | |
yuicompress: true, | |
optimization: 2 | |
}, |
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) { | |
grunt.initConfig({ | |
pug: { | |
compile: { | |
options: { | |
pretty: true, | |
data: { | |
debug: false | |
} |
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
.greytext(@opacity: 1.0) { | |
color: rgb(0, 0, 0); /* Fallback for older browsers */ | |
color: rgba(0, 0, 0, @opacity); | |
} |
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
Meteor.startup(function() { | |
let leadsLoaded = false; | |
let leadsCursor = Leads.find(); | |
Meteor.subscribe('leads', function() { | |
leadsLoaded = true; | |
}); | |
leadsCursor.observe({ |
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 M = M || {}; | |
M.lenderMap = function(defaultCenter) { | |
var map; | |
var infoWindow; | |
var service; | |
var infoWindowTemplate = function(result) { | |
return '<div class="info-window">' + |
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 App = App || {}; | |
App.home = function() { | |
function privateFunction() { | |
return 'Can\'t see meh'; | |
} | |
return { | |
init: function() { |
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 { Meteor } from 'meteor/meteor'; | |
import { Stripe } from 'meteor/mrgalaxy:stripe'; | |
import Future from 'fibers/future'; | |
Meteor.methods({ | |
stripeCreateCustomer(token, email) { | |
const stripeCustomer = new Future(); |
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
const server = require('http').createServer(), | |
express = require('express'), | |
jade = require('jade'), | |
debug = require('debug')('loanbot:server'), | |
fs = require('fs'), | |
path = require('path') | |
WebSocketServer = require('ws').Server, | |
pandoraBot = require('pb-node'), | |
app = express(), | |
wss = new WebSocketServer({ server }), |