Skip to content

Commit 01cb47c

Browse files
committed
Modified version info for v1.0.3.
1 parent 887430e commit 01cb47c

6 files changed

Lines changed: 13 additions & 7 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
bower_components/
2+
*.min.js

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
## Description of changes by version
22

3+
# v1.0.3
4+
- Fixed bug of multiple selection overwriting prefix.
5+
- Fixed bug of pasting, which made string upper case.
6+
- Fixed bug that made the suffix paste patch break.
7+
38
# v1.0.2
49
- Finalized dev version to first stable release.
510

InputAffix.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"use strict";
22
// Created by Juan Camilo Osorio (JCOC611 - jcoc611.com).
3-
// Version 1.0.2. (Beta, stable).
3+
// Version 1.0.3. (Beta, stable).
44
// Consider giving back by sharing your own code!
55
// Licensed under the MIT License.
66
// http://www.opensource.org/licenses/mit-license.php
@@ -389,7 +389,7 @@
389389
start: end,
390390
end: end
391391
});
392-
392+
393393
// Prevent default paste.
394394
e.preventDefault();
395395
});

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ If you want to use the hosted libraries, just add the following to the head of y
2929

3030
```html
3131
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
32-
<script src="http://static.jcoc611.com/hosted/js/InputAffix.0.1.3.min.js"></script>
32+
<script src="http://static.jcoc611.com/hosted/js/InputAffix.1.0.3.min.js"></script>
3333
```
3434

3535
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:
@@ -146,7 +146,7 @@ This event is triggered every time the suffix of an element is changed. It is pa
146146
## Hosted library
147147
In addition to the GitHub repo, I will also be hosting the minified version of the library at
148148

149-
http://static.jcoc611.com/hosted/js/InputAffix.0.1.3.min.js
149+
http://static.jcoc611.com/hosted/js/InputAffix.1.0.3.min.js
150150

151151
## Collaborating
152152
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.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Input Affix",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"homepage": "https://github.com/jcoc611/InputAffix",
55
"authors": [
66
"Juan Camilo Osorio <jcoc611@gmail.com>"

test.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>jQuery InputAffix v0.1.3 Test</title>
4+
<title>jQuery InputAffix v1.0.3 Test</title>
55
<meta charset="UTF-8">
66
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
77
<!-- <script type="text/javascript" src="http://static.jcoc611.com/hosted/js/InputAffix.0.1.3.min.js"></script> -->
@@ -21,7 +21,7 @@
2121
</script>
2222
</head>
2323
<body>
24-
<h1>Input Affix v0.1.3 Test</h1>
24+
<h1>Input Affix v1.0.3 Test</h1>
2525
<span>Prefix test <i>(Test: )</i> </span><input id="testPrefix" value="something"></input><br/><br/>
2626
<span>Suffix test <i>(%)</i> </span><input id="testSuffix" value="100"></input><br/><br/>
2727
<span>Dual test <i>(Angle: ...°)</i> </span><input id="testDual" value="100"></input><br/><br/>

0 commit comments

Comments
 (0)