mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 23:27:54 -05:00
Resolve merge conflict
This commit is contained in:
parent
79a8d771d6
commit
f3d6a273fb
5 changed files with 9 additions and 8 deletions
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"homepage": "https://github.com/llk/scratch-www#readme",
|
||||
"dependencies": {
|
||||
"bunyan": "1.5.0",
|
||||
"bunyan": "1.5.1",
|
||||
"compression": "1.5.2",
|
||||
"express": "4.13.3",
|
||||
"express-http-proxy": "0.6.0",
|
||||
|
@ -40,7 +40,8 @@
|
|||
"file-loader": "0.8.4",
|
||||
"json-loader": "0.5.2",
|
||||
"jsx-loader": "0.13.2",
|
||||
"node-sass": "3.3.2",
|
||||
"minilog": "2.0.8",
|
||||
"node-sass": "3.3.3",
|
||||
"react": "0.13.3",
|
||||
"react-modal": "0.3.0",
|
||||
"react-onclickoutside": "0.3.1",
|
||||
|
|
|
@ -2,7 +2,7 @@ var React = require('react');
|
|||
var classNames = require('classnames');
|
||||
var xhr = require('xhr');
|
||||
|
||||
var log = require('../../log.js');
|
||||
var log = require('../../lib/log.js');
|
||||
|
||||
var Api = require('../../mixins/api.jsx');
|
||||
var Session = require('../../mixins/session.jsx');
|
||||
|
|
4
src/lib/log.js
Normal file
4
src/lib/log.js
Normal file
|
@ -0,0 +1,4 @@
|
|||
var minilog = require('minilog');
|
||||
minilog.enable();
|
||||
|
||||
module.exports = minilog('www');
|
|
@ -1,4 +0,0 @@
|
|||
var bunyan = require('bunyan');
|
||||
|
||||
var Logger = bunyan.createLogger({name: 'scratch-www'});
|
||||
module.exports = Logger;
|
|
@ -1,7 +1,7 @@
|
|||
var cookie = require('cookie');
|
||||
var defaults = require('lodash.defaults');
|
||||
var xhr = require('xhr');
|
||||
var log = require('../log.js');
|
||||
var log = require('../lib/log.js');
|
||||
|
||||
var Api = {
|
||||
getCsrf: function (callback) {
|
||||
|
|
Loading…
Reference in a new issue