JAVASCRIPT   38

Shared UI JS libraries

Guest on 29th April 2022 01:33:22 AM

  1. /**
  2.  * Shared UI JS libraries. Use only what we need to keep the vendor file size smaller.
  3.  *
  4.  * @package
  5.  */
  6. require( '@wpmudev/shared-ui/dist/js/_src/code-snippet' );
  7. require( '@wpmudev/shared-ui/dist/js/_src/modal-dialog' );
  8. require( '@wpmudev/shared-ui/dist/js/_src/notifications' );
  9. require( '@wpmudev/shared-ui/dist/js/_src/scores' );
  10. require( '@wpmudev/shared-ui/dist/js/_src/select2.full' );
  11. require( '@wpmudev/shared-ui/dist/js/_src/select2' );
  12. require( '@wpmudev/shared-ui/dist/js/_src/tabs' );
  13. require( '@wpmudev/shared-ui/dist/js/_src/upload' ); // Used on lazy load page (since 3.2.2).
  14. require( '@wpmudev/shared-ui/dist/js/_src/reviews' );

Raw Paste


Login or Register to edit or fork this paste. It's free.