mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 22:25:24 +00:00
Fixed typos on usage example
This commit is contained in:
@@ -135,11 +135,11 @@ let examplePass = new Pass({
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Adding some settings to be written inside pass.json
|
// Adding some settings to be written inside pass.json
|
||||||
pass.localize("en", { ... });
|
examplePass.localize("en", { ... });
|
||||||
pass.barcode("36478105430"); // Random value
|
examplePass.barcode("36478105430"); // Random value
|
||||||
|
|
||||||
// Generate the stream, which gets returned through a Promise
|
// Generate the stream, which gets returned through a Promise
|
||||||
pass.generate()
|
examplePass.generate()
|
||||||
.then(stream => {
|
.then(stream => {
|
||||||
doSomethingWithTheStream(stream);
|
doSomethingWithTheStream(stream);
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user