Skip to content

Instantly share code, notes, and snippets.

View felipeands's full-sized avatar
🚩
Working from earth

Felipe A felipeands

🚩
Working from earth
View GitHub Profile
class Options extends React.Component {
constructor(props) {
super(props);
}
updateAlternative(e, key) {
this.props.questions[key].text = e.target.value;
}
dragulaDecorator(componentBackingInstance) {
<?php
/*
* Plugin Name: Root-based Category URLs
* Description: Enables root-based Category URLs, i.e. Makes /category/my-category/ URLs route as /my-category/
* Author: Mike Schinkel
* Author URI: http://about.me/mikeschinkel
* Plugin URI: https://gist.github.com/1421235
* Version: 0.1.1
* License: GPL 2+
*/