Skip to content

Commit

Permalink
make more es6
Browse files Browse the repository at this point in the history
  • Loading branch information
collardeau committed May 7, 2015
1 parent 31abe20 commit e61100e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/actions/listActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ let storage = firebaseUtils.homeInstance().child('public').child('list');

let listActions = {
getList(list) {
storage.on('value', function(snapshot){
storage.on('value', (snapshot) => {
AppDispatcher.handleAction({
actionType: appConstants.GET_DATA,
data: {
Expand Down
2 changes: 1 addition & 1 deletion app/utils/authUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const appConstants = require('../constants/appConstants');
let hasher = require('hasher');
let ref = new Firebase(appConstants.FIREBASE_HOST);

let addNewUserToFB = function(newUser){
let addNewUserToFB = (newUser) => {
ref.child('user').child(newUser.uid).child("info").set(newUser);
};

Expand Down

0 comments on commit e61100e

Please sign in to comment.