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
export default { | |
read: () => | |
{ | |
return require('./db.json'); | |
} | |
}; |
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 WritableStream = require('stream'); | |
var inherits = require('util').inherits; | |
module.exports = BrowserStderr; | |
inherits(BrowserStderr, WritableStream); | |
function BrowserStderr(opts) { | |
if (!(this instanceof BrowserStderr)) return new BrowserStderr(opts); |
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 _ from 'lodash'; | |
import React from 'react'; | |
import clamp from './clamp.js'; | |
import dimensions from './dimensions.js'; | |
class Scroller extends React.Component { | |
static propTypes = { | |
onScroll: React.PropTypes.func, | |
onNearTop: React.PropTypes.func, | |
target: React.PropTypes.object, |