Skip to content

Instantly share code, notes, and snippets.

@hadronix
hadronix / reverse-row.js
Created May 18, 2022 05:06
WP Bootstrap Rows Reverse Control
import classnames from 'classnames';
const { createHigherOrderComponent } = wp.compose;
const { Fragment } = wp.element;
const { InspectorAdvancedControls } = wp.editor;
const { ToggleControl } = wp.components;
const { addFilter } = wp.hooks;
const { __ } = wp.i18n;
const { assign, merge } = lodash;
@hadronix
hadronix / skygo.resize.js
Last active August 29, 2015 13:57
Skygo (Ger) Fullscreen Bookmarkelt
(function() {
// silverlight dont allow unfocused fullscreen
// remove useless elements and resize to browser width
var removeableElements = [
'#header', '#stage_nav_block', '.detail_header',
'.detail_details', '.detail_credits', '.detail_actions', '#main_footer', '#footer', '#bottom_spacer_block', '.blue_line'
];
var $player = $('#playerContainerId');