From b4d4eeaa2653a1e11b6aced4db080ec70f6fa13b Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Fri, 5 Feb 2016 20:42:40 -0800 Subject: [PATCH] Move some resource files to res/ --- bell.js | 4 ++-- display.css | 4 ++-- bell.wav => res/bell.wav | Bin font-40col.png => res/font-40col.png | Bin font-80col.png => res/font-80col.png | Bin font.png => res/font.png | Bin lpt.jpg => res/lpt.jpg | Bin styles.css | 2 +- 8 files changed, 5 insertions(+), 5 deletions(-) rename bell.wav => res/bell.wav (100%) rename font-40col.png => res/font-40col.png (100%) rename font-80col.png => res/font-80col.png (100%) rename font.png => res/font.png (100%) rename lpt.jpg => res/lpt.jpg (100%) diff --git a/bell.js b/bell.js index f8306d7..388ec98 100644 --- a/bell.js +++ b/bell.js @@ -5,7 +5,7 @@ var Bell; if (typeof Bell !== 'function') { Bell = function(base) { - + var DATA_MP3 = "data:audio/mp3;base64,//tQxAAACKhXabQTABGrmzE3KVACUZAAJACBEnA2wABBGMYxuAF3d33u4iIgghlkCBAAECCByJwfl4nB8P/B8HwfxOD4PrP8Hz/ggCAIA+fKAg7/+IAxlDmIOBwOBwOBwOBwOBgAAAAvsPfh+QCdNGoDlrCk09ENDCfgEgcONDUH+Bg80gbDCIBANAwwBWK2cNMQQC9wNjQYRAKDP/gGA4ZUUqKXC+Yj5vv8LLgsaAzgLgMCgQMgCwk1m/5p5fJ9S3PKI46qbzQCZASIFv6LvP/7UsQFAAupY3W89oARPSludJapcmndwY1sa2ew6Yta/COmtiB/qdMDuEhHiXUNfk5v+sWItkv//9RkF7Rb/1N61Lvd67JIcxJUFILyVf//sp6W691nbOozm3f00mPKFeZqYAC5BEMl25UAwQEyBZsBRtaDKwmBWpxRAT7sZUPnBK/+tEGwGtqFu8mGrHG/wZDv///qAZ/+PTG9UfI0f/uCbf//7onfzWW2eSw21qxBNPwNvYI70upORAMFBMg27hCQ55uY0DYA8ANOsP/9BJNf//tSxAyACjmHdaQ0VdFuMm41BQ+bVdUFuDg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nzLrvDMfvpPvK09VtY5l93VlmX3eO4Rg6v/Djqaqvm64rDKcsC7/t68az+76yjK7r+6osC78q28Kx677z/L6wLKPs+sJqy8Kw2rYx3L5uLL9wHMtr68ox675RtnV8X3gKw/N0dV15Zl3H9nV040c4fsoAAIABBwCAABPKQKEhKwKAOAEAjySJomRZoihZliiKpui6omi6rqRppqlpnmlammeapmmqsimarixpmmlanmaamqeZpmiarmuapqyKpinLpmrKsmmasuy6sm27rmzbomnKsmmasmyapiy7sqvbruzquqRZpql5nmlqnmeapmrKsmmarqt5nmp6nmiqniiqqmqqqq2qqixbnmeamuippieKqmqqpq2aqirLpqrasmmqtmyqqm27quz6sm3rummqsm2qpi2bqmrbruzqsizbui9pmmlqnmeamueZpmmasmyaqitbnqeaniiqquaJpmqqqiybpqrKlueZqieKquqJnmuaqirLpmraqmmatmyqqi2bpirLrm37vuvKsm6qqmybqmrrpmrKsmzLvu/Kqu6KpinLpqrasmmqsi3bsu/Lsqz7omnKsmmqsm2qqi7Lsm0bs2z7umiasm2qpi2bqirbsi37uizbuu/Krm+rqqzrsi37uu76rnDrujC8smz7qqz6uivbum/rMtv2fUTTlGVTNW3bVFVZdmXZ9mXb9n3RNG1bVVVbNk3VtmVZ9n1Ztm1hNE3ZNlVV1k3VtG1Zlm1htmXhdmXZt2Vb9nXXlXVf133j12Xd5rqy7cuyrfuqq/q27vvCcOuu8AoAABhwAAAIMKEMFBqyEgCIAgAAjGGMMQiNUs45B6FRyjnnIGTOQQghlcw5CCGUkjkHoZSUMucglJJSCKGUlFoLIZSUUmsFAAAUOAAABNigKbE4QKEhKwGAVAAAg+NYlueZomrasmNJnieKqqmqtu1IlueJommqqm1bnieKpqmqruvrmueJommqquvqumiapqmqruu6ui6aoqmqquu6sq6bpqqqriu7suzrpqqqquvKriz7wqq6rivLsm3rwrCqruvKsmzbtm/cuq7rvu/7wpGt67ou/MIxDEcBAOAJDgBABTasjnBSNBZYaMhKACADAIAwBiGDEEIGIYSQUkohpZQSAAAw4AAAEGBCGSg0ZEUAECcAABhDKaSUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJIKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKqaSUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKZVSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUkoppZRSSimllFJKKaWUUgoAkIpwAJB6MKEMFBqyEgBIBQAAjFFKKcacgxAx5hhj0EkoKWLMOcYclJJS5RyEEFJpLbfKOQghpNRSbZlzUlqLMeYYM+ekpBRbzTmHUlKLseaaa+6ktFZrrjXnWlqrNdecc825tBZrrjnXnHPLMdecc8455xhzzjnnnHPOBQDgNDgAgB7YsDrCSdFYYKEhKwGAVAAAAhmlGHPOOegQUow55xyEECKFGHPOOQghVIw55xx0EEKoGHPMOQghhJA55xyEEEIIIXMOOugghBBCBx2EEEIIoZTOQQghhBBKKCGEEEIIIYQQOgghhBBCCCGEEEIIIYRSSgghhBBCCaGUUAAAYIEDAECADasjnBSNBRYashIAAAIAgByWoFLOhEGOQY8NQcpRMw1CTDnRmWJOajMVU5A5EJ10EhlqQdleMgsAAIAgACDABBAYICj4QgiIMQAAQYjMEAmFVbDAoAwaHOYBwANEhEQAkJigSLu4gC4DXNDFXQdCCEIQglgcQAEJODjhhife8IQbnKBTVOogAAAAAAAMAOABAOCgACIimquwuMDI0Njg6PAIAAAAAAAWAPgAADg+gIiI5iosLjAyNDY4OjwCAAA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vgIA2CALuBOAJarYY33d7Fv/PmRK7m4rDgAAGjgAAACAqPQqRwAA5rfc5VROKRzSes6gJhgAdho1bBxqIG2Rh6cBJggwKewOL4YRkG0CsjwBM0lgTNM/FxjNQlhuWNDqfgI/+gB+fF4/Lv5BhlGfEaI85/WgPXtnOni5WWdg83qBnEgA22FWgixrGKH92/y+KeNNq8RsjAEAAIuG9SLg5vSXDAcxAEC9Ypo+d9jcYHXSolRUDPv3rGV8czRkMJlOxRE0KvHBkzmxHVidJRzBKXQCLuwO4vJwkGDzC49hu3ox7BZa76K3uvQ1GmowIABey63n4Qms0PAXtmjcH5/1z4QXfSDpDbBGA9hWbRSJrPsfppFz++yb+pv2iuJLL1qCK81qAf0OPXOq795whAXASrmiBeymGITsof2pmTp4NbRJLmH334dCVo8BF5EFhQElZ4TcWmrv75W280BypK6BjoKRHbTGdWtmKc4ehgfbRRY+q8jUAX66vdwPP0CSEu+IQdgrxfYMT54eY4wxUo80xhipAeATBACwUQzliMyorVGpvXWc3zd8VbX9jDEq0EsAAAB4UpbiLk5hUK3g19bXd97rG0DSZxeLUwDUHu+8LevrWHv5zpzCB/C8eQAsurauHo41auvFnDfvCA74BingzWO9GGAUj7AoxUAXv0qABndYmwA="; @@ -28,7 +28,7 @@ if (typeof Bell !== 'function') { // Fallback for IE<9 tag = document.createElement('bgsound'); if ('loop' in tag) { - tag.src = base + 'bell.wav'; + tag.src = base + 'res/bell.wav'; tag.loop = 1; this.play = function() { document.body.appendChild(tag); }; this.stop = function() { document.body.removeChild(tag); }; diff --git a/display.css b/display.css index e35166b..bc89ace 100644 --- a/display.css +++ b/display.css @@ -14,10 +14,10 @@ .jsb-tty .jsb-chr-cursor { position: relative; display: inline-block; } /* 40 Column Text */ -.jsb-40col .jsb-chr { background-image: url(font-40col.png); width: 14px; } +.jsb-40col .jsb-chr { background-image: url('res/font-40col.png'); width: 14px; } /* 80 Column Text */ -.jsb-80col .jsb-chr { background-image: url(font-80col.png); width: 7px; } +.jsb-80col .jsb-chr { background-image: url('res/font-80col.png'); width: 7px; } /* Lo-Res Graphics */ diff --git a/bell.wav b/res/bell.wav similarity index 100% rename from bell.wav rename to res/bell.wav diff --git a/font-40col.png b/res/font-40col.png similarity index 100% rename from font-40col.png rename to res/font-40col.png diff --git a/font-80col.png b/res/font-80col.png similarity index 100% rename from font-80col.png rename to res/font-80col.png diff --git a/font.png b/res/font.png similarity index 100% rename from font.png rename to res/font.png diff --git a/lpt.jpg b/res/lpt.jpg similarity index 100% rename from lpt.jpg rename to res/lpt.jpg diff --git a/styles.css b/styles.css index 2b7d334..14c48f0 100644 --- a/styles.css +++ b/styles.css @@ -21,7 +21,7 @@ h1, h2, h3, p, ul { margin-bottom: 0; margin-top: 0; } overflow-y: scroll; font-family: Courier, Monospace; background-color: #ffffff; - background-image: url('lpt.jpg'); + background-image: url('res/lpt.jpg'); background-repeat: repeat-y; background-attachment: local; color: #000000;