Navigation Menu

Skip to content

sivan/goldenfinger.js

Repository files navigation

GoldenFinger.js

GoldenFinger

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 --

About

Give you a goldenfinger as long as you need.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published