File tree 1 file changed +2
-12
lines changed 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -264,18 +264,8 @@ Api.git.reload = wrap(actions.reloaders.reload_git)
264
264
Api .events .subscribe = events .subscribe
265
265
Api .events .Event = events .Event
266
266
267
- Api .live_filter .start = wrap (function (...)
268
- local explorer = core .get_explorer ()
269
- if explorer then
270
- return explorer .live_filter :start_filtering (... )
271
- end
272
- end )
273
- Api .live_filter .clear = wrap (function (...)
274
- local explorer = core .get_explorer ()
275
- if explorer then
276
- return explorer .live_filter :clear_filter (... )
277
- end
278
- end )
267
+ Api .live_filter .start = wrap_explorer_member (" live_filter" , " start_filtering" )
268
+ Api .live_filter .clear = wrap_explorer_member (" live_filter" , " clear_filter" )
279
269
280
270
Api .marks .get = wrap_node (wrap_explorer_member (" marks" , " get_mark" ))
281
271
Api .marks .list = wrap_explorer_member (" marks" , " get_marks" )
You can’t perform that action at this time.
0 commit comments