Skip to content

Instantly share code, notes, and snippets.

@Coridyn
Coridyn / ui-bootstrap-tabs-edited-0.10.0.js
Created May 13, 2014 13:47
A cut-down version of the ui-bootstrap tab component - this fixes the transclusion of tab header content.
/*
* angular-ui-bootstrap
* http://angular-ui.github.io/bootstrap/
* Version: 0.10.0 - 2014-05-05
* License: MIT
*/
angular.module("ui.bootstrap", ["ui.bootstrap.tpls", "ui.bootstrap.tabs"]);
angular.module("ui.bootstrap.tpls", ["template/tabs/tab.html","template/tabs/tabset.html"]);
var methodColors = {
identify: "#c66",
track: "#66c",
pageview: "#c6c",
_default: "#888"
};
function log(method, objects) {
var color = methodColors[method] || methodColors._default;
var args = ['%c Segment.io %c '+method+' ','background: #6c6; color: white;', 'background: '+color+'; color: white;'];