Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel van Rijn committed Aug 27, 2013
1 parent d4b2ce9 commit 1f3f9dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2012 Manuel van Rijn
Copyright (c) 2013 Manuel van Rijn

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ Here's a list with the available default options
decimal: ',', // char to append when dot or comma is pressed
leadingZeroCheck: true, // append a 0 when the first input is a comma or dot
initialParse: true, // parse the value on start to match the decimal option
parseOnBlur: true // parse value when user lose focus on field
parseOnBlur: true, // parse value when user lose focus on field
allowNegative: false // allow value to be negative (prepends a minus char)
}
```

Expand Down Expand Up @@ -77,6 +78,14 @@ $("input.numeric_input").numeric_input({
});
```

### Allow negative values

```javascript
$("input.numeric_input").numeric_input({
allowNegative: true
});
```

## Changelog

A detailed overview of can be found in the [CHANGELOG](https://github.com/manuelvanrijn/jquery-numeric_input/blob/master/CHANGELOG.md).
Expand All @@ -87,7 +96,7 @@ In lieu of a formal styleguide, take care to maintain the existing coding style.
_Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "src" subdirectory!_

## License
Copyright (c) 2012 Manuel van Rijn
Copyright (c) 2013 Manuel van Rijn
Licensed under the MIT, GPL licenses.

[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/74b24b73a364e01a82ac840cacd77fb4 "githalytics.com")](http://githalytics.com/manuelvanrijn/jquery-numeric_input)
[![githalytics.com alpha](https://cruel-carlota.pagodabox.com/74b24b73a364e01a82ac840cacd77fb4 "githalytics.com")](http://githalytics.com/manuelvanrijn/jquery-numeric_input)

2 comments on commit 1f3f9dd

@marcpursals
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Manuel. First of all thanks a lot for your work, this numeric plugin helps a lot in my project. On second hand I just want to tell you that I Gemifyed your plugin and published on Rubygems. Obviously I mentioned you and redirect to users to your github account if they want more information.

If you have another version or anything you want to say please do not hesitate to contact me on [email protected].

Thanks again.

@manuelvanrijn
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @marcpursals,

Thanks for your work to create a gem version of my plugin, will appreciate it. Please watch the repository for new versions, because I probably forget informing you.

Also I've got some gem's of external projects, which I check once in a while with a small tool I've created. See https://github.com/manuelvanrijn/node-taghub. The trick is to keep the tag version number of you gem the same as the version of the external asset.

Regards!

Manuel

Please sign in to comment.