X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FReaction%2FUI%2FViewPort%2FField%2FInteger.pm;h=8a050a4d248199d6a4a8123591722f7f4eb611c9;hb=565a1fc7fe67c721f2766bdc3f55c5fcb33fc760;hp=7064edb525fd65242fe6f0db6725cfdec705250e;hpb=8139388160b0a38002b22ff95c3fee3d8380f156;p=catagits%2FReaction.git 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;