v3: first review of common code and task models

This commit is contained in:
Matteo Pagliazzi
2016-04-12 19:30:39 +02:00
parent 004b032084
commit 6458796a36
14 changed files with 40 additions and 45 deletions

View File

@@ -7,7 +7,7 @@ import _ from 'lodash';
Angular sets object properties directly - in which case, this function will be used.
*/
// TODO use directly _.set and remove this fn
// TODO use directly _.set and remove this fn, only used in client
module.exports = function dotSet (user, path, val) {
return _.set(user, path, val);