passbook
Version:
iOS Passbook for the Node hacker
16 lines (11 loc) • 392 B
JavaScript
// Exports function for creating a new template, from which you can create new
// passes.
var Template = require("./template");
// Create a new template.
//
// style - Pass style (coupon, eventTicket, etc)
// fields - Pass fields (passTypeIdentifier, teamIdentifier, etc)
function createTemplate(style, fields) {
return new Template(style, fields);
}
module.exports = createTemplate;