basic lightbox support

This commit is contained in:
Sam Saffron
2013-02-19 17:57:14 +11:00
parent 14c0b96d55
commit d9531d94d5
15 changed files with 191 additions and 44 deletions

View File

@ -107,7 +107,7 @@ footer:after{ content: '#{error}' }"
@lock.synchronize do
style = self.where(key: key).first
style.ensure_stylesheet_on_disk!
style.ensure_stylesheet_on_disk! if style
@cache[key] = style
end
end