-
Notifications
You must be signed in to change notification settings - Fork 62
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
Pull Request for "AMD Plugin" branch #125
Conversation
Moving inline Jasmine init code into file. Moving require.min.js into tests folder since it's not bundled with F2.
@montlebalm I'd like to merge this into a |
@markhealey, @montlebalm Thanks for holding off on this. I'm going to go over this over this weekend to see if there's anything we'd like to change. I think that in the future, for a major feature branch like this, it would be good to announce it on the google groups, or on a F2Dev twitter channel. For example, something like
twitted or announced via Google Groups on 8/22, the day that Chris started, would have been good. This singles out this event as something worth noting over all the other Github events. |
Useful trick -- ignore whitespace in github diffs by adding ?w=1. See https://github.com/blog/967-github-secrets. |
PS - I didn't realize GitHub.com copied comments made on a specific commit into the pull request tracking those commits. This site never ceases to impress me—collaboration at its best. |
@ilinkuo, @brianbaker, @Raylehnhoff, @montlebalm - I have opened #129 per my comment. |
I'm trying to get up to speed on this conversation, but I'm missing a bit of background and a failure to understand the real problem statement. @ilinkuo, is the crux of your issue with this solution is that it's too far removed from an AMD solution to be considered useful in an AMD environment? Is it possible to highlight the feature gaps of the current loader, this solution, and a "true" AMD solution? Then consider what would be missing in an AMD solution that the current loader provides? I hate it when latecomers slow down a conversation ;) |
Not at all, @rwadkins. Good thoughts. |
I'll summarize my position. Let me know if you have any other questions The pull request under discussion provides an easier way to load F2 Apps by implementing a RequireJS/AMD plugin. However, it is my opinion that
Thus, it would be better to leave AMD out of this entirely and rewrite the functionality as a new method In the course of discussion, @montlebalm proposed an alternate form of the proposed plugin API. Both @markhealey and I preferred this form. I recommended that this alternate form be used, ASAP. However, as there is no code yet written for the alternate form, MOD would like to move forward by modifying the existing pull request, though they haven't said whether they intend to change the API. If the revised pull request still uses the original proposed API, then I am opposed, because there is no way to smoothly iterate from one API to the other. |
I've added an "F2App" plugin for RequireJS that will allow containers to load F2 apps more easily.
I have also made a handful of bug fixes including:
The expected behavior from my changes has been encapsulated in a series of tests in "/tests/spec/amd-spec.js".