We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9498a91 + 04ac396 commit 1899382Copy full SHA for 1899382
lib/cortex/snippets/version.rb
@@ -1,5 +1,5 @@
1
module Cortex
2
module Snippets
3
- VERSION = '1.1.4'
+ VERSION = '1.1.5'
4
end
5
lib/cortex/snippets/webpage.rb
@@ -67,6 +67,14 @@ def tables_widget_data_for(section_name)
67
tables_widget_data&.[](section_name) || []
68
69
70
+ def carousels_widget_data
71
+ JSON.parse(@webpage[:carousels_widget_json] || 'null', quirks_mode: true)
72
+ end
73
+
74
+ def carousels_widget_data_for(section_name)
75
+ carousels_widget_data&.[](section_name)
76
77
78
def accordion_group_widget_data
79
JSON.parse(@webpage[:accordion_group_widget_json] || 'null', quirks_mode: true)
80
0 commit comments