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
var matches = null, | |
regex = regex = /[ \t]*<!-- IMPORT ([\s\S]*?)? -->[ \t]*/g, | |
apiCalls = [], | |
matchList = [], | |
deferredObjects = []; | |
while((matches = regex.exec(html)) !== null) { | |
var deferredObject = $.Deferred(); | |
deferredObjects.push(deferredObject); |
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
define('notifications', ['events', 'components'], function(events, components) { | |
var notifications = {}; | |
notifications.init = function() { | |
events.initialize('notifications', function() { | |
this.register('icon.unread', markUnread); | |
this.register('icon.read', markRead); | |
}); |
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
'use strict'; | |
/*global require, module, self*/ | |
(function(module) { | |
var templates = { | |
cache: {}, | |
globals: {} | |
}, | |
helpers = {}, | |
loader, |
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
<html> | |
<head> | |
<title>The NodeBB Community Forum is Under Maintenance</title> | |
<link href='http://fonts.googleapis.com/css?family=Ubuntu:400,500,700' rel='stylesheet' type='text/css'> | |
<style type="text/css"> | |
body { | |
background: #00A9EA; | |
color: white; | |
font-family: 'Ubuntu', sans-serif; | |
text-align: center; |
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 | |
if ( post_password_required() ) | |
return; | |
?> | |
<a id="nodebb/comments"></a> | |
<script type="text/javascript"> | |
var nodeBBURL = 'http://forum.burnaftercompiling.com', | |
articleID = '<?php echo the_ID(); ?>'; |
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
<object data="http://www.twitch.tv/widgets/live_embed_player.swf?channel=twitchplayspokemon" height="250" id="live_embed_player_flash" type="application/x-shockwave-flash" width="100%"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" /><param name="flashvars" value="hostname=www.twitch.tv&channel=twitchplayspokemon&auto_play=true&start_volume=0" /></object> |
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
<embed src="http://www.neave.com/games/get_game.php?swf=snake" name="neaveSnake" width="100%" quality="high" pluginspage="http://get.adobe.com/flashplayer/" type="application/x-shockwave-flash" allowscriptaccess="always"></embed> |
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
'use strict'; | |
/*globals require, console, process */ | |
var nconf = require('nconf'); | |
var async = require('async'); | |
nconf.file({ | |
file: 'config.json' | |
}); |
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
<div id="category-selector" style="position: relative"> | |
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">Categories <span class="caret"></span></button> | |
<ul class="dropdown-menu" aria-labelledby="category-selector"> | |
</ul> | |
</div> | |
<br /> | |
<script> | |
// If you're using the custom homepage mod, switch the api call to /api/forum | |
$.get(RELATIVE_PATH + '/api/home', {}, function(data) { |
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
<iframe src="https://kiwiirc.com/client/card.freenode.net/?nick=anonymous|?&theme=basic#nodebb" style="border:0; width:100%; height:450px;"></iframe> |