led

by Nikita Jadhao

HTML

<script src="https://raw.githubusercontent.com/DmitryBaranovskiy/raphael/master/raphael.js"></script>
<script src="http://www.class.pm/files/jquery-classyled.zip"></script>
<div class="led"></div>

JavaScript

//*************************
/*!
 * jQuery ClassyLED
 * www.class.pm
 *
 * Written by Marius Stanciu - Sergiu <[email protected]>
 * Licensed under the MIT license www.class.pm/LICENSE-MIT
 * Version 1.2.0
 *
 */
(function(l){l.fn.ClassyLED=function(k){var m=function(k,m){this.type;this.format;this.color;this.backgroundColor;this.rounded;this.spacing;this.hourFormat;this.length=8;this.size;this.new_date;this.flash=!0;this.dig=[];this.font1 = [" 000    0    000   000     0  00000   00  00000  000   000             ","0   0  00   0   0 0   0   00  0      0        0 0   0 0   0            ","0   0   0       0     0  0 0  0     0         0 0   0 0   0   0        ","0   0   0    000   000  0  0  0000  0000     0   000   0000            ","0   0   0   0         0 00000     0 0   0   0   0   0     0            ","0   0   0   0     0   0    0  0   0 0   0  0    0   0    0    0        "," 000   000  00000  000     0   000   000  0      000   00              "];this.font2 = [" 000    0    000  00000    0  00000   00  00000  000   000             ","0   0  00   0   0    0    00  0      0        0 0   0 0   0            ","0  00   0       0   0    0 0  0000  0        0  0   0 0   0   0        ","0 0 0   0     00     0  0  0      0 0000    0    000   0000            ","00  0   0    0        0 00000     0 0   0   0   0   0     0            ","0   0   0   0     0   0    0  0   0 0   0   0   0   0    0    0        "," 000   000  00000  000     0   000   000    0    000   00              "];this.font3 = ["00000     0 00000 00000 0   0 00000 00000 00000 00000 00000            ","0   0     0     0     0 0   0 0     0         0 0   0 0   0   0        ","0   0     0     0     0 0   0 0     0         0 0   0 0   0            ","0   0     0 00000 00000 00000 00000 00000     0 00000 00000            ","0   0     0 0         0     0     0 0   0     0 0   0     0            ","0   0     0 0         0     0     0 0   0     0 0   0     0   0        ","00000     0 00000 00000     0 00000 00000 ...