-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from Graham42/autoformat_code
Autoformat code and fix all linting errors
- Loading branch information
Showing
45 changed files
with
1,088 additions
and
1,267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
language: node_js | ||
node_js: | ||
- 4.4.0 | ||
before_script: | ||
- 'npm install -g karma-cli' | ||
- stable | ||
install: | ||
- npm install | ||
script: | ||
- npm run lint | ||
- npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
import React from "react"; | ||
import {render} from "react-dom"; | ||
import { render } from "react-dom"; | ||
import App from "./App"; | ||
|
||
render( | ||
<App />, | ||
document.getElementById("root") | ||
); | ||
render(<App />, document.getElementById("root")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
/* global ga */ | ||
export default { | ||
sendEvent: function(eventCategory, eventAction, eventValue) { | ||
if (window.location.hostname === "localhost" || typeof ga === "undefined") { | ||
return; | ||
} | ||
|
||
ga('send', { | ||
hitType: 'event', | ||
ga("send", { | ||
hitType: "event", | ||
eventCategory, | ||
eventAction, | ||
eventValue, | ||
eventValue | ||
}); | ||
} | ||
} | ||
}; |
Oops, something went wrong.