- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 05 Jun 2017 21:22:36 -0700
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 6 June 2017 04:23:10 UTC
@madmath, so close - but I need the to know what happens if, in pr.js, you change `supportedInstruments` to the following:
```js
var supportedInstruments = [{
supportedMethods: [
'basic-card',
],
data: {
supportedNetworks: ['hooba-dooba'],
supportedTypes: ["this should throw", "credit"],
}
}];
```
And/or...
```js
var supportedInstruments = [{
supportedMethods: [
'basic-card',
],
data: {
supportedNetworks: {"this-should-throw": ['hooba-dooba']},
supportedTypes: ["credit"],
}
}];
```
And
```JS
var supportedInstruments = [{
supportedMethods: [
'basic-card',
],
data: {
supportedNetworks: "this will throw",
supportedTypes: "so should this",
},
}];
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/browser-payment-api/pull/536#issuecomment-306378055
Received on Tuesday, 6 June 2017 04:23:10 UTC