-
-
Notifications
You must be signed in to change notification settings - Fork 150
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
add append hook #41
Comments
The |
@sourcec0de - do you have any thoughts on the naming convention? I'm leaning towards calling the attribute |
@amorey I think that makes sense. |
Ok, thanks for the feedback. One problem with |
Sure, in that case i think |
Once it's decided would you like me to update my PR? |
Sure, if you can update the PR that would be great. I thought you preferred |
Here's another idea - how about combining the If we decide to do it this way then I think |
That's clean!!!!!
…On Tue, Mar 21, 2017, 8:56 AM Andres Morey ***@***.***> wrote:
Here's another idea - how about combining the before and append callbacks
into one method? If the before callback returns false then we can bypass
the default insertion method at L143:
https://github.com/muicss/loadjs/blob/master/src/loadjs.js#L143
If we decide to do it this way then I think beforeInsert would be an
appropriate name.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#41 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABgea2dNBOegA7oiiv1_Rh_7McjIQhTZks5rn_MbgaJpZM4MhWVE>
.
|
Glad you like it! Do you want to modify the PR? In terms of the name, maybe we should keep |
@sourcec0de The latest version of LoadJS (v3.5.0) has support for this functionality. Just return Let me know if you run into any issues using the new feature. |
see my PR for details #40
The text was updated successfully, but these errors were encountered: