Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/export.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Brauhaus.Recipe::toBeerXml = ->
xml += "<name>#{@name}</name>"
xml += "<brewer>#{@author}</brewer>"
xml += "<batch_size>#{@batchSize}</batch_size>"
xml += "<boil_size>#{@boilSize}</boil_size>"
xml += "<boil_time>#{@boilTime}</boil_time>"
xml += "<efficiency>#{@mashEfficiency}</efficiency>"

if @primaryDays
Expand Down
2 changes: 2 additions & 0 deletions src/import.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Brauhaus.Recipe.fromBeerXml = (xml) ->
recipe.batchSize = parseFloat recipeProperty.textContent
when 'boil_size'
recipe.boilSize = parseFloat recipeProperty.textContent
when 'boil_time'
recipe.boilTime = parseFloat recipeProperty.textContent
when 'efficiency'
recipe.mashEfficiency = parseFloat recipeProperty.textContent
when 'primary_age'
Expand Down