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

Already on GitHub? Sign in to your account

Support for third-party JS libraries #4

Closed
danielbachhuber opened this Issue Aug 23, 2012 · 4 comments

Comments

Projects
None yet
3 participants
Contributor

danielbachhuber commented Aug 23, 2012

To increase the toolset you have available to you, it would be nice to support third-party JS libraries.

This issue involves:

  • Identifying the libraries we should support, and making the list filterable so it can be easily filterable
  • Creating an interface on our existing editor page for selecting the libraries you'd like available on the frontend
  • Enqueuing the third-party scripts on the frontend if the user wants them available.
Owner

joshbetz commented Aug 23, 2012

I vote for jQuery, MooTools, and Prototype. I think it's reasonable to assume that you'd only want one at a time.

Owner

mjangda commented Aug 23, 2012

We should probably support most of the ones included with WordPress core: http://codex.wordpress.org/Function_Reference/wp_enqueue_script#Default_scripts_included_with_WordPress

Owner

joshbetz commented Aug 23, 2012

Good call. And I guess jQuery UI is a good example of a situation where you'd need more than one library.

danielbachhuber added a commit that referenced this issue Oct 5, 2012

Incorporate a way of enqueueing framework scripts on the frontend.
Users can choose from a set of scripts in the admin. Then, on the frontend, those scripts are enqueued.

Props @flentini for much of the original code

See #4, #7

danielbachhuber added a commit that referenced this issue Oct 5, 2012

@ghost ghost assigned danielbachhuber Oct 8, 2012

Contributor

danielbachhuber commented Oct 8, 2012

This is nicely implemented now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment