[Style] Brace after if criteria

This commit is contained in:
Pete Richards 2015-08-19 13:55:02 -07:00
parent a94763041e
commit c118234bbf

View File

@ -44,7 +44,7 @@ define(
function RootModelProvider(roots, $q, $log) {
// Pull out identifiers to used as ROOT's, while setting locations.
var ids = roots.map(function (root) {
if (!root.model) root.model = {};
if (!root.model) { root.model = {}; }
root.model.location = 'ROOT';
return root.id;
}),