Copy over any temporary JSON properties in Build.parseJSON.

This commit is contained in:
ccd0 2019-03-31 21:17:19 -07:00
parent fb0759f40d
commit 21f0dbfd46

View File

@ -79,6 +79,9 @@ Build =
tag: data.tag
hasDownscale: !!data.m_img
o.file.dimensions = "#{o.file.width}x#{o.file.height}" unless /\.pdf$/.test o.file.url
# Temporary JSON properties for events such as April 1 / Halloween
for key of data when key[0] is 'x'
o[key] = data[key]
o
parseComment: (html) ->