Skip to content

Commit

Permalink
Replace tab with space
Browse files Browse the repository at this point in the history
  • Loading branch information
irxground committed Feb 10, 2015
1 parent c9eaf5a commit 935e712
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ function successInit(result) {
alert(result);
// make the purchase
inappbilling.buy(successPurchase, errorCallback, "gas");

}

function errorCallback(error) {
alert(error);
}
Expand Down Expand Up @@ -261,45 +261,37 @@ Full example
function buy(){
// make the purchase
inappbilling.buy(successHandler, errorHandler, "gas");
}
// Click on ownedProducts button
function ownedProducts(){
// Initialize the billing plugin
inappbilling.getPurchases(successHandler, errorHandler);
}
// Click on Consume purchase button
function consumePurchase(){
inappbilling.consumePurchase(successHandler, errorHandler, "gas");
}
// Click on subscribe button
function subscribe(){
// make the purchase
inappbilling.subscribe(successHandler, errorHandler,"infinite_gas");
}
// Click on Query Details button
function getDetails(){
// Query the store for the product details
inappbilling.getProductDetails(successHandler, errorHandler, ["gas","infinite_gas"]);
}
// Click on Get Available Products button
function getAvailable(){
// Get the products available for purchase.
inappbilling.getAvailableProducts(successHandler, errorHandler);
}
</script>

</head>
<body>
<h1>Hello World</h1>
Expand Down
Empty file modified plugin.xml
Whitespace-only changes.
Whitespace-only changes.
Empty file modified www/inappbilling.js
Whitespace-only changes.

0 comments on commit 935e712

Please sign in to comment.