Skip to content

Commit 957ab46

Browse files
committed
Assets: Build JS & CSS files
Also add RTL support for stylesheets and post preview.
1 parent 3aac52f commit 957ab46

18 files changed

+100
-15
lines changed

assets/js/activitypub-admin.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
jQuery( function( $ ) {
1+
import jQuery from 'jquery';
2+
3+
jQuery( function ( $ ) {
24
// Accordion handling in various areas.
35
$( '.activitypub-settings-accordion' ).on( 'click', '.activitypub-settings-accordion-trigger', function() {
46
var isExpanded = ( 'true' === $( this ).attr( 'aria-expanded' ) );

assets/js/activitypub-header-image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @see wp-admin/js/site-icon.js
77
*/
88

9-
/* global jQuery, wp */
9+
import jQuery from 'jquery';
1010

1111
( function ( $ ) {
1212
var $chooseButton = $( '#activitypub-choose-from-library-button' ),

build/css/activitypub-admin-rtl.css

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/css/activitypub-admin.css

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/css/activitypub-embed-rtl.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/css/activitypub-embed.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/css/activitypub-post-preview-rtl.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)