Skip to content

Commit 983dcf3

Browse files
author
Evan Jacobs
committed
1.2.0
1 parent 51dd227 commit 983dcf3

File tree

5 files changed

+23
-10
lines changed

5 files changed

+23
-10
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## 1.2.0
2+
### Bugfixes
3+
- [Fix prop warning](https://github.com/enigma-io/react-input-placeholder/pull/12)
4+
- [Remove createFactory calls (fixes JSX usage)](https://github.com/enigma-io/react-input-placeholder/pull/11)
5+
- [Fix IE8 incompatibility](https://github.com/enigma-io/react-input-placeholder/pull/4)
6+
7+
**If you are not using JSX, you will need to wrap the use of this module in `createFactory`.**
8+
19
## 1.1.0
210
### Bugfixes
311
- [Make module compatible with newer versions of React](https://github.com/enigma-io/react-input-placeholder/pull/7)

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ module.exports = function (grunt) {
3737
regexp: true,
3838
trailing: true,
3939
node: true,
40-
browser: true
40+
browser: true,
41+
laxbreak: true
4142
},
4243
gruntfile: {
4344
files: {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ React Input and Textarea with Placeholder Shim
33

44
`PlaceholderShim` provides `Input` and `Textarea`, small wrappers around `React.createElement('input')` and `React.createElement('textarea')` respectively that shims in `placeholder` functionality for browsers that don't natively support it. Currently only tested with IE9.
55

6-
Demo: https://jsfiddle.net/yaycmyk/69z2wepo/10029/
6+
Demo: https://jsfiddle.net/69z2wepo/16498/
77

88
## Getting Started
99
### Browserify

dist/react-input-placeholder.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
22
"name": "react-input-placeholder",
3-
"version": "1.1.0",
3+
"version": "1.2.0",
44
"description": "Input and Textarea React components with polyfilled placeholder support.",
55
"author": "Enigma Technologies <[email protected]> (http://enigma.io)",
66
"main": "src/react-input-placeholder.js",
7-
"scripts": {
8-
"test": "grunt lint"
9-
},
107
"repository": {
118
"type": "git",
129
"url": "git://github.com/enigma-io/react-input-placeholder.git"
@@ -18,18 +15,25 @@
1815
"react-component"
1916
],
2017
"contributors": [
21-
"enigma.io",
2218
"Joe Natalzia",
23-
"Evan Jacobs"
19+
"Evan Jacobs <[email protected]>"
2420
],
2521
"license": "MIT",
2622
"bugs": {
2723
"url": "https://github.com/enigma-io/react-input-placeholder/issues"
2824
},
25+
"browser": {
26+
"react": "react"
27+
},
2928
"devDependencies": {
3029
"grunt": "^0.4.1",
30+
"grunt-browserify": "^1.2.9",
3131
"grunt-contrib-jshint": "^0.7.0",
3232
"grunt-contrib-uglify": "^0.2.4",
33-
"grunt-browserify": "^1.2.9"
33+
"react": "^0.13.3"
34+
},
35+
"scripts": {
36+
"build": "grunt",
37+
"test": "grunt lint"
3438
}
3539
}

0 commit comments

Comments
 (0)