mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Es6ify api docs (#21686)
* docs: es6ify docs -> var -> const / let * docs: apply arrow functions throughout all of the docs
This commit is contained in:
@@ -37,7 +37,7 @@ inAppPurchase.on('transactions-updated', (event, transactions) => {
|
||||
|
||||
// Check each transaction.
|
||||
transactions.forEach(function (transaction) {
|
||||
var payment = transaction.payment
|
||||
let payment = transaction.payment
|
||||
|
||||
switch (transaction.transactionState) {
|
||||
case 'purchasing':
|
||||
|
||||
Reference in New Issue
Block a user