diff -r 24754fe4baaf -r e457ec945e50 client/js/models.js --- a/client/js/models.js Fri Apr 24 18:02:09 2015 +0200 +++ b/client/js/models.js Sat Apr 25 04:13:53 2015 +0200 @@ -258,13 +258,14 @@ }, validate : function(options) { var _project = this; - _( - [].concat(options.users, options.nodes, options.edges, - options.views)).each(function(_item) { + _.each( + [].concat(options.users, options.nodes, options.edges,options.views), + function(_item) { if (_item) { _item.project = _project; } - }); + } + ); }, // Add event handler to remove edges when a node is removed initialize : function() {