0.1.1 • Published 8 years ago
goldenfinger.js v0.1.1
GoldenFinger.js
Give you a goldenfinger as long as you need.
Usage
GoldenFinger();
=>
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░████░░░
░░░░░░░░░░░░░░░░░░░░░░░░░█▀──▀█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░████░░███████░░
░░░░░░░░░░░░░░░░░██──████▀────█░░
░░░░░░░░░░░░░░░░██────██──────█░░
░░░░░░░░░░░░░░░██────██───────█░░
░░░████████░░░██────██────────█░░
░░█████████████─────██──▄█▄───█░░
░░██████████────────██▄████───█░░
░░█████████──────────▀▀███▀───█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████──────────────────██░░
░░██████████───────────────███░░░
░░██████████████████████████░░░░░
░░░████████░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Call your goldenfinger as long as you need.
GoldenFinger()()()()();
=>
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░████░░░
░░░░░░░░░░░░░░░░░░░░░░░░░█▀──▀█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░░░░░░░░█────█░░
░░░░░░░░░░░░░░░░░░████░░███████░░
░░░░░░░░░░░░░░░░░██──████▀────█░░
░░░░░░░░░░░░░░░░██────██──────█░░
░░░░░░░░░░░░░░░██────██───────█░░
░░░████████░░░██────██────────█░░
░░█████████████─────██──▄█▄───█░░
░░██████████────────██▄████───█░░
░░█████████──────────▀▀███▀───█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████───────────────────█░░
░░█████████──────────────────██░░
░░██████████───────────────███░░░
░░██████████████████████████░░░░░
░░░████████░░░░░░░░░░░░░░░░░░░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
Method
.text / .凸
Get your goldenfinger code. Samples below return same goldenfingers.
GoldenFinger()() + '';
GoldenFinger()().toString();
GoldenFinger()().text();
GoldenFinger()().凸();
.html
Wrap your goldenfinger with <pre>
tag.
$('div').html(GoldenFinger()()()().html());
Make own fingers
var bf = new GoldenFinger();
var gf = new GoldenFinger();
bf.text({
tmpl: function(knuckle) {
var str = '[=:=';
(function addKnuckle() {
if (knuckle > 0) {
knuckle -= 1;
str += '=';
addKnuckle();
}
}());
return str + '>';
}
});
bf()()()()();
gf();
License
MIT License
-- EOF --