This repository was archived by the owner on Nov 1, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,6 @@ def self.filter(*args)
2323 # - [ ] incomplete
2424 # - [x] complete
2525 # ```
26- #
27- # Results
28- # -------
29- #
30- # The following keys are written to the result hash:
31- # :task_list_items - An array of TaskList::Item objects.
3226 class Filter < HTML ::Pipeline ::Filter
3327
3428 ListSelector = [
@@ -58,14 +52,6 @@ def next_index
5852 @index += 1
5953 end
6054
61- # List of `TaskList::Item` objects that were recognized in the document.
62- # This is available in the result hash as `:task_list_items`.
63- #
64- # Returns an Array of TaskList::Item objects.
65- def task_list_items
66- result [ :task_list_items ] ||= [ ]
67- end
68-
6955 # Renders the item checkbox in a span including the item index and state.
7056 #
7157 # Returns an HTML-safe String.
@@ -123,8 +109,6 @@ def filter_list(node)
123109 end
124110 if match = TaskList . item? ( inner )
125111 item = TaskList ::Item . new ( next_index , match , inner )
126- task_list_items << item
127-
128112 add_css_class ( li , 'task-list-item' )
129113 outer . inner_html = render_task_list_item ( item )
130114 end
You can’t perform that action at this time.
0 commit comments