{"action":"closed","issue":{"url":"https://api.github.com/repos/plaid/project-csa/issues/12","labels_url":"https://api.github.com/repos/plaid/project-csa/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/plaid/project-csa/issues/12/comments","events_url":"https://api.github.com/repos/plaid/project-csa/issues/12/events","html_url":"https://github.com/plaid/project-csa/issues/12","id":69253570,"number":12,"title":"Set data attributes after script load","user":{"login":"c316","id":3142974,"avatar_url":"https://avatars.githubusercontent.com/u/3142974?v=3","gravatar_id":"","url":"https://api.github.com/users/c316","html_url":"https://github.com/c316","followers_url":"https://api.github.com/users/c316/followers","following_url":"https://api.github.com/users/c316/following{/other_user}","gists_url":"https://api.github.com/users/c316/gists{/gist_id}","starred_url":"https://api.github.com/users/c316/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c316/subscriptions","organizations_url":"https://api.github.com/users/c316/orgs","repos_url":"https://api.github.com/users/c316/repos","events_url":"https://api.github.com/users/c316/events{/privacy}","received_events_url":"https://api.github.com/users/c316/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plaid/project-csa/labels/feature%20request","name":"feature request","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-18T01:45:49Z","updated_at":"2015-04-18T03:16:12Z","closed_at":"2015-04-18T03:16:12Z","body":"Is it possible to set the data attributes after the script has loaded? I'm using a framework (Meteor) that doesn't make it very easy to use the script as it is currently shown on the Readme example. I have it working, but not for my mobile sessions and I'd really like to narrow down why this is. \r\n\r\nStripe has a good example of what I'm talking about in their Stripe.js file. \r\nhttps://stripe.com/docs/stripe.js\r\n\r\nInclude the script, \r\n\r\n    <script type=\"text/javascript\" src=\"https://js.stripe.com/v2/\"></script>\r\n\r\nThen set your key\r\n\r\n    Stripe.setPublishableKey('YOUR_PUBLISHABLE_KEY');"}}