Preload asciicasts

rails
Marcin Kulik 9 years ago
parent 6d300479e6
commit 1a0519a4f7

@ -17,6 +17,7 @@ class PlaybackOptions
attribute :size, String, default: 'small' attribute :size, String, default: 'small'
attribute :autoplay, Boolean attribute :autoplay, Boolean
attribute :loop, Boolean, default: false attribute :loop, Boolean, default: false
attribute :preload, Boolean, default: true
attribute :benchmark, Boolean, default: false attribute :benchmark, Boolean, default: false
attribute :theme, String, default: Theme::DEFAULT attribute :theme, String, default: Theme::DEFAULT
attribute :t, Time attribute :t, Time
@ -27,6 +28,7 @@ class PlaybackOptions
speed: speed, speed: speed,
autoPlay: autoplay.nil? ? !!t : autoplay, autoPlay: autoplay.nil? ? !!t : autoplay,
loop: loop, loop: loop,
preload: preload,
fontSize: size, fontSize: size,
theme: theme, theme: theme,
} }

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save