HitIer How do I cheat?
Reputation: 22
Joined: 09 Feb 2013 Posts: 0 Location: Location Location Location
|
Posted: Thu Jun 02, 2016 3:04 pm Post subject: .. |
|
|
http://www.torn.com/profiles.php?XID=1610490
Code: | Handlebars.registerHelper('stripesHelper', function(index, cssClassOdd, cssClassEven) {
if ((index % 2) == 0) {
return cssClassOdd;
} else {
return cssClassEven;
}
});
Handlebars.registerHelper('lastRowHelper', function(index, obj) {
var result = '';
if (index + 1 == (obj.hash.data.length)) {
result = ' last';
}
return result;
});
Handlebars.registerHelper('for', function(from, to, incr, block) {
var result = '';
for(var i = from; i < to; i += incr) {
result += block.fn(i);
}
return result;
});
Handlebars.registerHelper('ifCond', function(v1, v2, options) {
if(v1 === v2) {
return options.fn(this);
}
return options.inverse(this);
});
Handlebars.registerHelper('decimal', function(number) {
return number.replace(/,|\./g, '');
});
|
_________________
With self driving cars, CE can work in real life
t328163 wrote: | Your username derives from the fact that this site cannot format special characters lol. |
t328163 wrote: |
lmfao, on reddit i'd get banned |
|
|
HitIer How do I cheat?
Reputation: 22
Joined: 09 Feb 2013 Posts: 0 Location: Location Location Location
|
Posted: Fri Jun 03, 2016 8:57 pm Post subject: |
|
|
i posted this for my own personal ref sake
_________________
With self driving cars, CE can work in real life
t328163 wrote: | Your username derives from the fact that this site cannot format special characters lol. |
t328163 wrote: |
lmfao, on reddit i'd get banned |
|
|