File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ def config
47
47
delegate :content_security_policy_nonce , to : :helpers
48
48
49
49
# Config option that strips trailing whitespace in templates before compiling them.
50
- # class_attribute :__vc_cache_dependencies, default: []
51
50
class_attribute :__vc_strip_trailing_whitespace , instance_accessor : false , instance_predicate : false
52
51
self . __vc_strip_trailing_whitespace = false # class_attribute:default doesn't work until Rails 5.2
53
52
@@ -434,7 +433,7 @@ def safe_output_postamble
434
433
# config.view_component.generate.preview = true
435
434
# ```
436
435
#
437
-
436
+ # Defaults to `false`.
438
437
class << self
439
438
# The file path of the component Ruby file.
440
439
#
@@ -489,10 +488,6 @@ def sidecar_files(extensions)
489
488
( sidecar_files - [ identifier ] + sidecar_directory_files + nested_component_files ) . uniq
490
489
end
491
490
492
- def cache_on ( *args )
493
- __vc_cache_dependencies . push ( *args )
494
- end
495
-
496
491
# Render a component for each element in a collection ([documentation](/guide/collections)):
497
492
#
498
493
# ```ruby
You can’t perform that action at this time.
0 commit comments