Skip to content

Commit

Permalink
Merge pull request #10 from WebDevStudios/feature/add-ie11-support
Browse files Browse the repository at this point in the history
Feature/add ie11 support
  • Loading branch information
davebonds committed Dec 20, 2018
2 parents f250fd9 + 6c8bd9b commit 84b3470
Show file tree
Hide file tree
Showing 6 changed files with 1,696 additions and 1,638 deletions.
14 changes: 14 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"presets": [
[
"env",
{
"targets": {
"browsers": [
"last 2 versions",
]
}
}
]
]
}
5 changes: 3 additions & 2 deletions assets/js/components/searchForm.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require( 'isomorphic-fetch' );
import React from 'react';
import qs from 'query-string';
import { DebounceInput } from 'react-debounce-input';
Expand Down Expand Up @@ -57,7 +58,7 @@ export default class SearchForm extends React.Component {

const queryString = qs.stringify( query );
url = `${ url }?${ queryString }`;

let json = fetch( url )
.then(
response => {
Expand Down Expand Up @@ -95,7 +96,7 @@ export default class SearchForm extends React.Component {

return className;
}

render() {
return (
<div className={ `${ this.getFormClass() }` }>
Expand Down
6 changes: 3 additions & 3 deletions assets/js/public.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 84b3470

Please sign in to comment.