diff options
Diffstat (limited to 'lib/Reaction/UI/ViewPort/Field/Integer.pm')
-rw-r--r-- | lib/Reaction/UI/ViewPort/Field/Integer.pm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Reaction/UI/ViewPort/Field/Integer.pm b/lib/Reaction/UI/ViewPort/Field/Integer.pm index 7064edb..8a050a4 100644 --- a/lib/Reaction/UI/ViewPort/Field/Integer.pm +++ b/lib/Reaction/UI/ViewPort/Field/Integer.pm @@ -1,14 +1,13 @@ package Reaction::UI::ViewPort::Field::Integer; use Reaction::Class; -use aliased 'Reaction::UI::ViewPort::Field'; - use namespace::clean -except => [ qw(meta) ]; -extends Field; +use MooseX::Types::Moose qw/Int/; +extends 'Reaction::UI::ViewPort::Field'; -has '+value' => (isa => 'Int'); -__PACKAGE__->meta->make_immutable; +has '+value' => (isa => Int); +__PACKAGE__->meta->make_immutable; 1; |