Skip to content

Commit

Permalink
chore(release): version 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ro-ka committed Jul 28, 2015
1 parent fe358ef commit b9098d3
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 39 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### 1.4.2 (2015-07-29)


#### Bug Fixes

* **build:** fix build for npm ([6475372](https://github.com/ubilabs/react-geosuggest/commit/6475372a468f19f075a20af012f8f85404172893))



### 1.4.1 (2015-07-21)


Expand All @@ -19,5 +28,3 @@
* **input:**
* add new param className ([c1c990ec](https://github.com/ubilabs/react-geosuggest/commit/c1c990ec80e5210322d7d68b805d44a73196ca4e), closes [#8](https://github.com/ubilabs/react-geosuggest/issues/8))
* add initial value param ([f97d8eba](https://github.com/ubilabs/react-geosuggest/commit/f97d8eba377ed789c1bbc21cfc4de94e85ef2760), closes [#13](https://github.com/ubilabs/react-geosuggest/issues/13))


67 changes: 32 additions & 35 deletions dist/react-geosuggest.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'use strict';

var React = require('react'),
GeosuggestItem = require('./GeosuggestItem.jsx'); // eslint-disable-line
GeosuggestItem = require('./GeosuggestItem'); // eslint-disable-line

var Geosuggest = React.createClass({
displayName: 'Geosuggest',
Expand Down Expand Up @@ -235,26 +235,25 @@ var Geosuggest = React.createClass({
* @return {Function} The React element to render
*/
render: function render() {
return ( // eslint-disable-line no-extra-parens
return // eslint-disable-line no-extra-parens
React.createElement(
'div',
{ className: 'geosuggest ' + this.props.className,
onClick: this.onClick },
React.createElement('input', {
className: "geosuggest__input",
ref: "geosuggestInput",
type: "text",
value: this.state.userInput,
placeholder: this.props.placeholder,
onKeyDown: this.onInputKeyDown,
onChange: this.onInputChange,
onFocus: this.showSuggests,
onBlur: this.hideSuggests }),
React.createElement(
'div',
{ className: 'geosuggest ' + this.props.className,
onClick: this.onClick },
React.createElement('input', {
className: 'geosuggest__input',
ref: 'geosuggestInput',
type: 'text',
value: this.state.userInput,
placeholder: this.props.placeholder,
onKeyDown: this.onInputKeyDown,
onChange: this.onInputChange,
onFocus: this.showSuggests,
onBlur: this.hideSuggests }),
React.createElement(
'ul',
{ className: this.getSuggestsClasses() },
this.getSuggestItems()
)
'ul',
{ className: this.getSuggestsClasses() },
this.getSuggestItems()
)
);
},
Expand All @@ -267,13 +266,12 @@ var Geosuggest = React.createClass({
return this.state.suggests.map((function (suggest) {
var isActive = this.state.activeSuggest && suggest.placeId === this.state.activeSuggest.placeId;

return ( // eslint-disable-line no-extra-parens
React.createElement(GeosuggestItem, {
key: suggest.placeId,
suggest: suggest,
isActive: isActive,
onSuggestSelect: this.selectSuggest })
);
return // eslint-disable-line no-extra-parens
React.createElement(GeosuggestItem, {
key: suggest.placeId,
suggest: suggest,
isActive: isActive,
onSuggestSelect: this.selectSuggest });
}).bind(this));
},

Expand All @@ -292,7 +290,7 @@ var Geosuggest = React.createClass({

module.exports = Geosuggest;

},{"./GeosuggestItem.jsx":2,"react":undefined}],2:[function(require,module,exports){
},{"./GeosuggestItem":2,"react":undefined}],2:[function(require,module,exports){
'use strict';

var React = require('react');
Expand Down Expand Up @@ -328,13 +326,12 @@ var GeosuggestItem = React.createClass({
* @return {Function} The React element to render
*/
render: function render() {
return ( // eslint-disable-line no-extra-parens
React.createElement(
'li',
{ className: this.getSuggestClasses(),
onClick: this.onClick },
this.props.suggest.label
)
return // eslint-disable-line no-extra-parens
React.createElement(
'li',
{ className: this.getSuggestClasses(),
onClick: this.onClick },
this.props.suggest.label
);
},

Expand Down
2 changes: 1 addition & 1 deletion dist/react-geosuggest.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-geosuggest",
"version": "1.4.1",
"version": "1.4.2",
"description": "A React autosuggest for the Google Maps Places API.",
"main": "module/Geosuggest.js",
"author": "Robert Katzki <katzki@ubilabs.net>",
Expand Down

0 comments on commit b9098d3

Please sign in to comment.