File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ nav_order: 5
1010
1111## main
1212
13+ * Add first class component cache.
14+
15+ * Reegan Viljoen*
16+
1317* Ensure HTML output safety wrapper is used for all inline templates.
1418
1519 * Joel Hawksley*
@@ -60,10 +64,6 @@ nav_order: 5
6064
6165 * Javier Aranda*
6266
63- * Add first class component cache.
64-
65- * Reegan Viljoen*
66-
6767## 3.17.0
6868
6969* Use struct instead openstruct in lib code.
Original file line number Diff line number Diff line change @@ -434,6 +434,7 @@ def safe_output_postamble
434434 # ```
435435 #
436436 # Defaults to `false`.
437+
437438 class << self
438439 # The file path of the component Ruby file.
439440 #
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ def __vc_render_cacheable(rendered_template)
4242 end
4343
4444 class_methods do
45-
4645 # For caching the component
4746 def cache_on ( *args )
4847 __vc_cache_dependencies . push ( *args )
You can’t perform that action at this time.
0 commit comments