This file contains 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
/** | |
* Searchable JavaScript dictionary. | |
* | |
* Usage: | |
* var dict = require('path/to/this').create(); | |
* dict.add( 'somedata', 'Text to index' ); | |
* var items = dict.find('text'); | |
*/ | |
exports.create = function(){ | |
return new Dict; |
This file contains 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 | |
function require_wp_db() { | |
global $wpdb; | |
if ( isset($wpdb) ){ | |
return; | |
} | |
// Should check for override db.php file first | |
// - including both means fatal error on duplicate class | |
if ( file_exists( WP_CONTENT_DIR . '/db.php' ) ){ | |
require_once( WP_CONTENT_DIR . '/db.php' ); |
This file contains 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
retweet.html | |
rt-loader.js |