Skip to content

Commit 960e14d

Browse files
committed
added "#" to character set
1 parent a3d6b6d commit 960e14d

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

‎css/base.css‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ a {
132132
.splitflap .full span.capo { background-position: -1075px 0px; } /* ' */
133133
.splitflap .full span.cplu { background-position: -1100px 0px; } /* + */
134134
.splitflap .full span.cmin { background-position: -1125px 0px; } /* - */
135-
.splitflap .full span.ccol { background-position: -1150px 0px; } /* ↑ */
136-
.splitflap .full span.cat { background-position: -1175px 0px; } /* ↓ */
135+
.splitflap .full span.ccol { background-position: -1150px 0px; } /* : */
136+
.splitflap .full span.cat { background-position: -1175px 0px; } /* @ */
137+
.splitflap .full span.chsh { background-position: -1200px 0px; } /* # */
137138
/* NUMBERS ONLY DRUM */
138139
.splitflap .number span.csp { background-position: -25px 0px; } /* space */
139140
.splitflap .number span.c0 { background-position: -700px 0px; } /* 0 */
1.35 KB
Loading
18.5 KB
Binary file not shown.

‎js/split-flap.js‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ sf.display = {
3232
// a character and when prepended by "c" gives the class name which will
3333
// be applied to display that character.
3434
FullDrum: function() {
35-
this.order = [' ','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','0','1','2','3','4','5','6','7','8','9','.',',','?','!','/','\'','+','-',':','@'];
35+
this.order = [' ','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','0','1','2','3','4','5','6','7','8','9','.',',','?','!','/','\'','+','-',':','@','#'];
3636
},
3737
CharDrum: function() {
3838
this.order = [' ','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z','.',','];
@@ -170,7 +170,7 @@ sf.display = {
170170
// punctuation has special class names
171171
// TODO: can we be more efficient here? This method gets called a lot!
172172
switch(i) {
173-
case " ": c = "csp"; break;
173+
case " ": c = "csp"; break;
174174
case ".": c = "cper"; break;
175175
case ",": c = "ccom"; break;
176176
case "?": c = "cque"; break;
@@ -180,7 +180,8 @@ sf.display = {
180180
case "+": c = "cplu"; break;
181181
case "-": c = "cmin"; break;
182182
case ":": c = "ccol"; break;
183-
case "@": c = "cat"; break;
183+
case "@": c = "cat"; break;
184+
case "#": c = "chsh"; break;
184185
}
185186
container.fadeOut(50, function(){
186187
container.removeClass().addClass(c);

0 commit comments

Comments
 (0)