Skip to content
This repository has been archived by the owner on Jul 15, 2020. It is now read-only.

Script tag sequence #3

Open
abhishek77in opened this issue Aug 17, 2013 · 0 comments
Open

Script tag sequence #3

abhishek77in opened this issue Aug 17, 2013 · 0 comments

Comments

@abhishek77in
Copy link

Point 4 in Readme is very confusing since it says This include tag needs to go above where your main javascript files are included. assuming you are talking about js.stripe.com/v1 to go in layout file first, it does not use rails include tag rather uses a normal html script tag.

Point 4
Add javascript include tag for Stripe's js library into your application layout. NOTE: This include tag needs to go above where your main javascript files are included.
<script type="text/javascript" src="https://js.stripe.com/v1/"></script>
<%= javascript_include_tag "application" %>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant