mod/basic_formats/format/js_format.rb in card-1.92.2 vs mod/basic_formats/format/js_format.rb in card-1.93.0
- old
+ new
@@ -3,9 +3,13 @@
class Card
class Format
class JsFormat < Format
register :js
+ def self.view_caching?
+ false
+ end
+
def mime_type
"text/javascript"
end
end
end