Skip to content

Commit

Permalink
Allow integer attributes to be created by the type name 'integer' (as…
Browse files Browse the repository at this point in the history
… well as the previous type name of 'int')
  • Loading branch information
Gregory Jacobs committed Mar 21, 2012
1 parent bdea268 commit 35c00bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions kevlar.js
Expand Up @@ -2781,6 +2781,7 @@ Kevlar.attribute.IntegerAttribute = Kevlar.attribute.Attribute.extend( {


// Register the Attribute type // Register the Attribute type
Kevlar.attribute.Attribute.registerType( 'int', Kevlar.attribute.IntegerAttribute ); Kevlar.attribute.Attribute.registerType( 'int', Kevlar.attribute.IntegerAttribute );
Kevlar.attribute.Attribute.registerType( 'integer', Kevlar.attribute.IntegerAttribute );


/** /**
* @class Kevlar.attribute.MixedAttribute * @class Kevlar.attribute.MixedAttribute
Expand Down

0 comments on commit 35c00bf

Please sign in to comment.