This file contains hidden or 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
/** | |
* | |
* ListItemCheckbox | |
* | |
*/ | |
import React from 'react' | |
import { ListItem } from 'material-ui/List' | |
import Checkbox from 'material-ui/Checkbox' |
This file contains hidden or 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
javascript:window.location='https://web.archive.org/web/*/'+window.location.href |
This file contains hidden or 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
export default let mergeByObjectProperty = (mainArray, mergingArray, property) => { | |
// For every entry in the merging array (smaller) | |
_.each(mergingArray, (mergingArrayEntry) => { | |
// Find the corresponding object from arrayOne | |
var mainArrayEntry = _.find(mainArray, (arr1obj) => { | |
return arr1obj[property] === mergingArrayEntry[property] | |
}) |
This file contains hidden or 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 Botkit, DATABASE_URI, Promise, _, bodyParser, bots, dbConnect, express, mongoStorage, mongoose, path, runIt, setupController, setupModels, setupServer, startRTM, trackBot; | |
_ = require('lodash'); | |
path = require('path'); | |
Botkit = require('botkit'); | |
mongoStorage = require('botkit-storage-mongo'); |
This file contains hidden or 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
_ = require 'lodash' | |
path = require 'path' | |
Botkit = require 'botkit' | |
mongoStorage = require 'botkit-storage-mongo' | |
mongoose = require 'mongoose' | |
express = require 'express' | |
bodyParser = require 'body-parser' | |
Promise = require 'bluebird' | |
mongoose.Promise = Promise |
NewerOlder