Skip to content

Commit

Permalink
Modified version info for v1.0.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoc611 committed Jul 27, 2015
1 parent 887430e commit 01cb47c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
bower_components/
*.min.js
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Description of changes by version

# v1.0.3
- Fixed bug of multiple selection overwriting prefix.
- Fixed bug of pasting, which made string upper case.
- Fixed bug that made the suffix paste patch break.

# v1.0.2
- Finalized dev version to first stable release.

Expand Down
4 changes: 2 additions & 2 deletions InputAffix.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";
// Created by Juan Camilo Osorio (JCOC611 - jcoc611.com).
// Version 1.0.2. (Beta, stable).
// Version 1.0.3. (Beta, stable).
// Consider giving back by sharing your own code!
// Licensed under the MIT License.
// http://www.opensource.org/licenses/mit-license.php
Expand Down Expand Up @@ -389,7 +389,7 @@
start: end,
end: end
});

// Prevent default paste.
e.preventDefault();
});
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ If you want to use the hosted libraries, just add the following to the head of y

```html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="http://static.jcoc611.com/hosted/js/InputAffix.0.1.3.min.js"></script>
<script src="http://static.jcoc611.com/hosted/js/InputAffix.1.0.3.min.js"></script>
```

Otherwise, you can host your own version of jQuery and Input Affix to suit your needs. After you have included both libraries, adding a prefix or suffix is easier than writing the HTML for them. Check the documentation out for the detailed explanation:
Expand Down Expand Up @@ -146,7 +146,7 @@ This event is triggered every time the suffix of an element is changed. It is pa
## Hosted library
In addition to the GitHub repo, I will also be hosting the minified version of the library at

http://static.jcoc611.com/hosted/js/InputAffix.0.1.3.min.js
http://static.jcoc611.com/hosted/js/InputAffix.1.0.3.min.js

## Collaborating
If you have any issues with the code, or have found any bugs, submit an Issue Ticket! Also, if you want to improve/change anything just fork the repo, make your changes, and submit a pull request. I will review it as soon as possible.
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Input Affix",
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://github.com/jcoc611/InputAffix",
"authors": [
"Juan Camilo Osorio <jcoc611@gmail.com>"
Expand Down
4 changes: 2 additions & 2 deletions test.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>jQuery InputAffix v0.1.3 Test</title>
<title>jQuery InputAffix v1.0.3 Test</title>
<meta charset="UTF-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<!-- <script type="text/javascript" src="http://static.jcoc611.com/hosted/js/InputAffix.0.1.3.min.js"></script> -->
Expand All @@ -21,7 +21,7 @@
</script>
</head>
<body>
<h1>Input Affix v0.1.3 Test</h1>
<h1>Input Affix v1.0.3 Test</h1>
<span>Prefix test <i>(Test: )</i> </span><input id="testPrefix" value="something"></input><br/><br/>
<span>Suffix test <i>(%)</i> </span><input id="testSuffix" value="100"></input><br/><br/>
<span>Dual test <i>(Angle: ...°)</i> </span><input id="testDual" value="100"></input><br/><br/>
Expand Down

0 comments on commit 01cb47c

Please sign in to comment.