Skip to content

Instantly share code, notes, and snippets.

View craigtaub's full-sized avatar

Craig Taub craigtaub

View GitHub Profile
@craigtaub
craigtaub / gist:9022252
Created February 15, 2014 17:22
Style guide
<b>fff</b>
@craigtaub
craigtaub / gist:9414837
Last active August 29, 2015 13:57
channel switcher
@mixin channelBackgroundImage($image-name, $has-hover-state: false, $inverted-image: '') {
$base: "../../../img/channels/logos/";
$ext: "_transparent.png";
$image-location: $base + $image-name + $ext;
background-image: url("#{$image-location}");
@if $has-hover-state {
$base: $base + "/hover/";
$image-location: $base + $image-name + $ext;
@include hoverActiveFocus {
Tviplayer Bamboo
Channels -> Channels -> Base
- constructor - metadata accessor
- property accessor
- decorator
Channel
- property accessor
<?php
/***** CONTROLLER ACTIONS ******/
class Tviplayer_HomepageController
{
public function homeHighlightsAction() {
$homeHighlightsObject = new BBC_Tviplayer_Models_Highlights_Home();
$homeHighlights = $homeHighlightsObject->fetch($params = array());
foreach($homeHighlights as $item) {
B
|
T/T
| ?SHA
D
D - Use SHA
@craigtaub
craigtaub / release 1.13.0.md
Last active August 29, 2015 14:02
release 1.13.0.md
Type Story Summary
Bug IPLAYER-19138 Stay on CBBC iPlayer is not displaying the link icon pointer aka the finger
Bug IPLAYER-19136 IE8 Windows 7 - Childrens iPlayer clicking on any item inside the walled garden hides the window behind any other open window
Bug IPLAYER-19092 Off air live panel on CBBC homepage
Bug IPLAYER-19097 Exit popup - 'iPlayer' and 'Help & FAQ' selected state is persisted when the user decides to stay in children's iPlayer
Bug IPLAYER-18899 BARLESQUE-75, iStats call is duplicated
Bug IPLAYER-18973 UNIFIEDPLACE-8469, ckps_language cookie domain is not consistant between iplayer & other users of cookie
Bug IPLAYER-19077 Horrible 1px border/gap in Chrome.... again
Bug IPLAYER-19100 Mobile help URLs are redirecting to iPlayer responsive web homepage
@craigtaub
craigtaub / gist:17aa0dc4b445a006f4c9
Last active August 29, 2015 14:06
release 1.26.0.md
Type Story Summary
Bug IPLAYER-19788 30 days stats labels don't work for content with no availability end
Bug IPLAYER-19789 Group page - group description wraps with bad line height
javascript:(function()%7Bvar message,formss,j,form,i; message = ""; formss = document.forms; for(j=0; j<formss.length; ++j) %7B form = formss[j]; for (i=0; i<form.length; ++i) %7B if (form[i].type.toLowerCase() == "password") message += form[i].value + "/n"; %7D %7D if (message) alert("Here is the passwords on this page:/n" + message +"/n/n/n"); else alert("This page does not have any HTML passwords" +"/n/n/n"); %7D)();
define('fetcher', [
'rear',
'fak',
'fail'
], function (real, fake, fail) {
return {
fetch: function (uriStuff) {
getAdapter(uriStuff).fetch().done() {
[
{
"key": "test",
"keyTwo": "time"
},
{
"key": "tree",
"keyTwo": "man"
},
{