Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev master #47

Closed
wants to merge 2 commits into from
Closed

Dev master #47

wants to merge 2 commits into from

Conversation

gkweb
Copy link

@gkweb gkweb commented Sep 7, 2016

This adds the ability to append your own parameters to the api JS link. This would save myself and alot of other people a heap of time. Some JS requires appending a custom callback function to the api url etc.. so helps alot!

Usage for appending params is like so:

{!! app('captcha')->display([],null,['someParam'=>'someval123','someParam2'=>'someAdditionalvalu123123']); !!}

Renders out like so:

<script src="https://www.google.com/recaptcha/api.js?someParam=someval123&amp;someParam2=someAdditionalvalu123123" async="" defer=""></script>

Feedback apreciated. Cheers,

Glade

@anhskohbo
Copy link
Owner

Hi, pls check out your indent :(

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

Successfully merging this pull request may close these issues.

None yet

2 participants