« Karabiner/Manipulator/Conditions/Input_source_if.pm
↑ Summary
Karabiner/Manipulator/Actions/To_if_alone.pm »
| 1 | package JSON::Karabiner::Manipulator::Actions::To_after_key_up ; | ||
| 2 | $JSON::Karabiner::Manipulator::Actions::To_after_key_up::VERSION = '0.008'; | ||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | use JSON; | ||
| 6 | use Carp; | ||
| 7 | use parent 'JSON::Karabiner::Manipulator::Actions::To'; | ||
| 8 | |||
| 9 | sub new { | ||
| 10 | my $class = shift; | ||
| 11 | my ($type, $value) = @_; | ||
| 12 | my $obj = $class->SUPER::new($type, $value); | ||
| 13 | $obj->{data} = $value || [], | ||
| 14 | return $obj; | ||
| 15 | } | ||
| 16 | |||
| 17 | # ABSTRACT: to_if_alone action | ||
| 18 | |||
| 19 | 1; | ||
| 20 | |||
| 21 | __END__ |