Skip to content

Commit 226a796

Browse files
committed
Assets: Build JS & CSS files
Also add RTL support for stylesheets and post preview.
1 parent 9595be4 commit 226a796

18 files changed

+99
-14
lines changed

assets/js/activitypub-admin.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import jQuery from 'jquery';
2+
13
jQuery( function ( $ ) {
24
// Accordion handling in various areas.
35
$( '.activitypub-settings-accordion' ).on(

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)