Read known_glitches when loading alt styles SWF assets
I'm not sure why I had marked this as TODO before? Maybe I'm missing something? But for now I'll just wire it in, I guess!
This commit is contained in:
parent
c5cd1f2f3d
commit
7af1a97161
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ class AltStylesController < ApplicationController
|
|||
swf_assets: {
|
||||
only: [:id, :body_id],
|
||||
include: [:zone],
|
||||
methods: [:urls],
|
||||
methods: [:urls, :known_glitches],
|
||||
}
|
||||
},
|
||||
methods: [:series_name, :adjective_name, :thumbnail_url],
|
||||
|
|
|
@ -70,7 +70,7 @@ function normalizeSwfAssetToLayer(swfAssetData) {
|
|||
label: swfAssetData.zone.label,
|
||||
},
|
||||
bodyId: swfAssetData.body_id,
|
||||
knownGlitches: [], // TODO
|
||||
knownGlitches: swfAssetData.known_glitches,
|
||||
|
||||
svgUrl: swfAssetData.urls.svg,
|
||||
canvasMovieLibraryUrl: swfAssetData.urls.canvas_library,
|
||||
|
|
Loading…
Reference in a new issue