Implemented a javascript code style

This commit is contained in:
Stefan Zermatten
2015-04-22 12:44:25 +02:00
parent dce20375b5
commit fada0f5136
113 changed files with 1614 additions and 1650 deletions

View File

@@ -4,9 +4,9 @@ Template.newCharacterDialog.events({
name: instance.find("#nameInput").value,
gender: instance.find("#genderInput").value,
race: instance.find("#raceInput").value,
owner: Meteor.userId()
owner: Meteor.userId(),
}, function(err, id){
if(err) throw err;
if (err) throw err;
Router.go("characterSheet", {_id: id});
});
}