Feature_bets precomp
by amindunited
HTML
<div id="outdiv"></div>
CSS
div.cluetip-default{color:white;padding:0px;}
div.cluetip-default .cluetip-outer{color:white;padding:0px;}
.cluetip-default{color:#ffffff;text-shadow:1px 1px #000;font-size:11px;font-weight:normal;text-align:left;padding:0px;}
.cluetip-default h3#cluetip-title{margin:0 0 1px;z-index:3000;text-align:left;max-width:250px;font-weight:normal;}
.ui-cluetip-content{max-height:300px;overflow:hidden;}
.hint-box .hb-tl,.hint-box .hb-tr,.hint-box .hb-bl,.hint-box .hb-br{height:12px;background:url("http://mr46shop.local/luxbet/images/head/head/tool-tip-tb.png") no-repeat 0 0 transparent;}
.hint-box .hb-tr{width:12px;background-position:100% 0;}
.hint-box .hb-bl,.hint-box .hb-br{height:17px;background-position:0 100%;}
.hint-box .hb-br{width:12px;background-position:100% 100%;}
.hint-box .hb-ml,.hint-box .hb-mr{height:26px;background:url("http://mr46shop.local/luxbet/images/head/head/tool-tip-mid.png") no-repeat 0 center transparent;}
.hint-box .hb-ml{max-width:204px;padding:2px 8px 2px 27px;font-size:12px;color:#fff;text-shadow:1px 1px 1px #000;-webkit-text-shadow:1px 1px 1px #000;-moz-text-shadow:1px 1px 1px #000;-o-text-shadow:1px 1px 1px #000;-khtml-text-shadow:1px 1px 1px #000;vertical-align:middle;}
.hint-box .hb-ml>*{max-width:204px;}
.hint-box .hb-mr{width:12px;background-position:100% center;}
div.more-bets-tooltip{width:250px;}
div.more-bets-tooltip div.content{background:url("http://mr46shop.local/luxbet/images/head/head/tool-tip-mid.png") no-repeat 0 center transparent;width:250px;}
div.more-bets-tooltip div.content span{overflow:auto;overflow-x:hidden;max-height:170px;padding-left:20px;padding-right:20px;width:200px;display:block;}
div.more-bets-tooltip div.top{height:12px;background:url("http://mr46shop.local/luxbet/images/head/head/tool-tip-tb.png") no-repeat top left transparent;}
div.more-bets-tooltip div.bottom{height:12px;background:url("http://mr46shop.local/luxbet/images/head/head/tool-tip-tb.png") no-repeat bottom left...
JavaScript
// lib/handlebars/base.js
var Handlebars = {};
Handlebars.VERSION = "1.0.beta.6";
Handlebars.helpers = {};
Handlebars.partials = {};
Handlebars.registerHelper = function(name, fn, inverse) {
if(inverse) { fn.not = inverse; }
this.helpers[name] = fn;
};
Handlebars.registerPartial = function(name, str) {
this.partials[name] = str;
};
Handlebars.registerHelper('helperMissing', function(arg) {
if(arguments.length === 2) {
return undefined;
} else {
throw new Error("Could not find property '" + arg + "'");
}
});
var toString = Object.prototype.toString, functionType = "[object Function]";
Handlebars.registerHelper('blockHelperMissing', function(context, options) {
var inverse = options.inverse || function() {}, fn = options.fn;
var ret = "";
var type = toString.call(context);
if(type === functionType) { context = context.call(this); }
if(context === true) {
return fn(this);
} else if(context === false || context == null) {
return inverse(this);
} else if(type === "[object Array]") {
if(context.length > 0) {
for(var i=0, j=context.length; i<j; i++) {
ret = ret + fn(context[i]);
}
} else {
ret = inverse(this);
}
return ret;
} else {
return fn(context);
}
});
Handlebars.registerHelper('each', function(context, options) {
var fn = options.fn, inverse = options.inverse;
var ret = "";
if(context && context.length > 0) {
for(var i=0, j=context.length; i<j; i++) {
ret = ret + fn(context[i]);
}
} else {
ret = inverse(this);
}
return ret;
});
Handlebars.registerHelper('if', function(context, options) {
var type = toString.call(context);
if(type === functionType) { context = context.call(this); }
if(!context || Handlebars.Utils.isEmpty(context)) {
return options.inverse(this);
} else {
return options.fn(this);
}
});
Handlebars.registerHelper('unless', function(context, options) {
var fn = options.fn, inverse =...