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
<li class="gig ng-scope"> | |
<div class="month september-2014"> | |
<h2>April</h2> | |
<h3>2014</h3> | |
</div> | |
<div class="info-container"> | |
<div class="info"> | |
<div class="calendar"> | |
<div class="monthtop ng-binding">Apr | |
<img ng-src="/dist/img/flags/GB.png" src="/dist/img/flags/GB.png"> |
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
$scope.$on('ngRepeatFinished', function(ngRepeatFinishedEvent) { | |
$('.month').each(function(){ | |
//grab the classes | |
var classes = $(this).attr('class').split(/\s+/); | |
for (var i=0; i<classes.length; i++) { | |
//only check against the date classes | |
if (/\w*-\d{4}/.test(classes[i])) { | |
//show the first matching element | |
$('.'+classes[i]).first().show(); |
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 | |
/** | |
* ---------------------------------------------------- | |
* Info: | |
* ---------------------------------------------------- | |
* @author Tim Joosten | |
* @package Ion Auth 3 | |
* | |
* Description: The english language file for Ion Auth 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
public function onData($data, MessageInterface $message = null, callable $onMessage, callable $onControl = null, $context = null) { | |
RECURSE: | |
$overflow = ''; | |
$onControl ?: $this->noop; | |
$message ?: $message = $this->newMessage(); | |
$prevFrame = null; | |
$frameCount = count($message); | |
if ($frameCount > 0) { | |
$frame = $message[$frameCount - 1]; | |
if ($frame->isCoalesced()) { |
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
$(element).find('input[type=radio], input[type=checkbox]').each(function() | |
{ | |
var tIndexChangeHandler = function() | |
{ | |
var selected_element = $(this); | |
obj.validate(element,function(obj){ | |
var tab = $(selected_element).closest('div[data-role=page]'); | |
var idx = Number($(tab).attr('t_index')); |
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 | |
require_once(__DIR__ . '/vendor/autoload.php'); | |
use PhpAmqpLib\Connection\AMQPStreamConnection; | |
use PhpAmqpLib\Message\AMQPMessage; | |
//connect to rabbit server | |
$connection = new AMQPStreamConnection( |
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 processCalendarData(cb) { | |
setTimeout(function(){ | |
cb(); | |
}, 1000); | |
}; | |
var amqp = require('amqplib/callback_api'); |
OlderNewer