Skip to content
This repository was archived by the owner on Mar 27, 2021. It is now read-only.

Commit 0c80e6c

Browse files
make demo work on IE9 (#142)
1 parent a05f164 commit 0c80e6c

File tree

4 files changed

+161
-111
lines changed

4 files changed

+161
-111
lines changed

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
<!DOCTYPE html>
12
<html>
23
<head>
3-
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/15.5.4/react.js"></script>
44
<script src="https://js.stripe.com/v3/"></script>
55
<style>
66
* {

demo/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ class _CardForm extends React.Component<{
5858
}> {
5959
handleSubmit = ev => {
6060
ev.preventDefault();
61-
this.props.stripe.createToken().then(payload => console.log(payload));
61+
this.props.stripe
62+
.createToken()
63+
.then(payload => console.log('[token]', payload));
6264
};
6365
render() {
6466
return (

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"react-test-renderer": "^15.6.1",
6868
"rimraf": "^2.6.2",
6969
"webpack": "^3.5.6",
70-
"webpack-dev-server": "^2.8.1"
70+
"webpack-dev-server": "2.7.1"
7171
},
7272
"peerDependencies": {
7373
"react": "^15.5.4 || ^16.0.0-0",

0 commit comments

Comments
 (0)