diff --git a/www/render/main.js b/www/render/main.js index ba19b32ea..0f7e3e7fd 100644 --- a/www/render/main.js +++ b/www/render/main.js @@ -5,9 +5,10 @@ define([ '/common/crypto.js', '/common/marked.js', '/common/convert.js', + '/common/rainbow.js', '/bower_components/jquery/dist/jquery.min.js', '/customize/pad.js' -], function (Config, Realtime, Messages, Crypto, Marked, Convert) { +], function (Config, Realtime, Messages, Crypto, Marked, Convert, Rainbow) { var $ = jQuery; var Vdom = Convert.core.vdom, @@ -57,33 +58,7 @@ define([ }; }()); - window.colour = (function () { - var r = 0.6, - n = 24, - i = 0, - t = [], - rgb = [0,2,4]; - - while(i