This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. | |
8 Cannot read property \'type\' of undefined | |
7 Cannot read property \'replace\' of undefined | |
6 The object can not be found here. | |
5 Failed to execute \'insertBefore\' on \'Node\': The node before which the new node is to be inserted is not a child of this node. | |
5 Cannot set property \'onload\' of null | |
5 Cannot read property \'unbind\' of undefined | |
4 Cannot read property \'tagName\' of undefined | |
3 Failed to execute \'removeChild\' on \'Node\': The node to be removed is not a child of this node. | |
3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
componentDidUpdate: function ( prevProps ) { | |
// update value state on preview mode change or value changed (via props) by another component | |
if ((this.props.previewMode && this.props.previewMode !== prevProps.previewMode) || this.props.value !== prevProps.value) { | |
this.setState({ | |
value: this.emptyIfDefault(this.getCurrentInputValue()), | |
}); | |
} | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'package) | |
(package-initialize) | |
(require 'evil) | |
(require 'evil-easymotion) | |
(evil-mode 1) | |
(evilem-default-keybindings "SPC") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
"use strict"; | |
/*global wp,jQuery */ | |
var CustomGalleryEdit,CustomFrame; | |
function customClasses() { | |
var media = wp.media; | |
var l10n = media.view.l10n; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter("the_content", "the_content_filter"); | |
function the_content_filter($content) { | |
// array of custom shortcodes requiring the fix | |
$block = join("|",array("col","shortcode2","shortcode3")); | |
// opening tag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jslint undef: false, browser: true, devel: false, eqeqeq: false, bitwise: false, white: false, plusplus: false, regexp: false, nomen: false */ | |
/*global wp,jQuery */ | |
jQuery(document).ready(function($) { | |
if (!window.wp || !window.wp.media) { | |
return; | |
} | |
var media = window.wp.media; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var workflow = wp.media({ | |
title: 'Select the images', | |
// use multiple: false to disable multiple selection | |
multiple: 'add', | |
button: { | |
text: 'Add selected images' | |
}, | |
library: { | |
type: 'image' | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Author: bitfade | |
this class will convert a XML configuration in to a simpler object | |
*/ | |
package bitfade.utils { | |
import flash.xml.* | |
public class XmlParser { |