@@ -1,4 +1,7 @@
11Elm.Graphics = function() {
2+ for (this['i'] in Elm.List) {
3+ eval('var ' + this['i'] + ' = Elm.List[this.i];');
4+ }
25 var JS = Elm.JavaScript;
36 var DLeft_0 = ["DLeft"];
47 var DRight_1 = ["DRight"];
@@ -156,7 +159,7 @@ Elm.Graphics = function() {
156159 var absolute_35 = Absolute_12;
157160 var relative_36 = Relative_13;
158161 function newElement_38(e,w,h,o,c,l) { return Element_37(Guid.guid(),e,w,h,o,c,l); }
159− function basicNewElement(e,w,h) { return Element_37(Guid.guid(),e,w,h,1,Nothing,Nothing); }
162+ function basicNewElement(e,w,h) { return Element_37(Guid.guid(),e,w,h,1,["Nothing"],["Nothing"]); }
160163 var line_76 = Line_75;
161164 var polygon_79 = Shape_78;
162165 function sprite_96(src) {
@@ -212,12 +215,12 @@ Elm.Graphics = function() {
212215 }
213216 function color_51(c) {
214217 return function(e) {
215− return newElement_38(e[2], e[3], e[4], e[5], Just(c), e[7]);
218+ return newElement_38(e[2], e[3], e[4], e[5], ["Just",c], e[7]);
216219 }
217220 }
218221 function link(lnk) {
219222 return function(e) {
220− return newElement_38(e[2], e[3], e[4], e[5], e[6], Just(JS.castStringToJSString(lnk)));
223+ return newElement_38(e[2], e[3], e[4], e[5], e[6], ["Just", JS.castStringToJSString(lnk)]);
221224 }
222225 }
223226 function widthOf_52(e) { return ~~e[3]; }
@@ -233,7 +236,7 @@ Elm.Graphics = function() {
233236 return basicNewElement(EText_39("left")(txt),p[0],p[1])
234237 }
235238 function asText(v) {
236− var txt = monospace(Value.toText(Value.show(v)));
239+ var txt = Elm.Text.monospace(Value.toText(Value.show(v)));
237240 var p = Value.getTextSize(0,0,txt);
238241 return basicNewElement(EText_39("left")(txt),p[0],p[1])
239242 }
@@ -320,17 +323,17 @@ Elm.Graphics = function() {
320323 }
321324 function above_61(e1_156) {
322325 return function(e2_157) {
323− return basicNewElement(EFlow_43(DDown_3)(["Cons", e1_156, ["Cons", e2_157, ["Nil"]]]), max(widthOf_52(e1_156))(widthOf_52(e2_157)), heightOf_53(e1_156) + heightOf_53(e2_157))
326+ return basicNewElement(EFlow_43(DDown_3)(["Cons", e1_156, ["Cons", e2_157, ["Nil"]]]), Math.max(widthOf_52(e1_156),widthOf_52(e2_157)), heightOf_53(e1_156) + heightOf_53(e2_157));
324327 }
325328 }
326329 function below_62(e1_158) {
327330 return function(e2_159) {
328− return basicNewElement(EFlow_43(DDown_3)(["Cons", e2_159, ["Cons", e1_158, ["Nil"]]]), max(widthOf_52(e1_158))(widthOf_52(e2_159)), heightOf_53(e1_158) + heightOf_53(e2_159))
331+ return basicNewElement(EFlow_43(DDown_3)(["Cons", e2_159, ["Cons", e1_158, ["Nil"]]]), Math.max(widthOf_52(e1_158),widthOf_52(e2_159)), heightOf_53(e1_158) + heightOf_53(e2_159));
329332 }
330333 }
331334 function beside_63(e1_160) {
332335 return function(e2_161) {
333− return basicNewElement(EFlow_43(DRight_1)(["Cons", e1_160, ["Cons", e2_161, ["Nil"]]]), widthOf_52(e1_160) + widthOf_52(e2_161), max(heightOf_53(e1_160))(heightOf_53(e2_161)))
336+ return basicNewElement(EFlow_43(DRight_1)(["Cons", e1_160, ["Cons", e2_161, ["Nil"]]]), widthOf_52(e1_160) + widthOf_52(e2_161), Math.max(heightOf_53(e1_160),heightOf_53(e2_161)));
334337 }
335338 }
336339 function layers_64(es_162) {
@@ -379,7 +382,7 @@ Elm.Graphics = function() {
379382 var n_180 = 50;
380383 return function() {
381384 function f_181(i_182) {
382− return["Tuple2", w_177 / 2 * cos(2 * (pi / n_180) * i_182), h_178 / 2 * sin(2 * (pi / n_180) * i_182)]
385+ return["Tuple2", w_177 / 2 * Math.cos(2 * (Math.PI / n_180) * i_182), h_178 / 2 * Math.sin(2 * (Math.PI / n_180) * i_182)];
383386 }
384387 return Shape_78(map(f_181)(function() {
385388 var lo = 0;
@@ -404,10 +407,10 @@ Elm.Graphics = function() {
404407 return function(r_185) {
405408 return function(pos_186) {
406409 return function() {
407− var m_187 = toFloat(n_184);
410+ var m_187 = n_184;
408411 return function() {
409412 function f_188(i_189) {
410− return["Tuple2", r_185 * cos(2 * (pi / m_187) * i_189), r_185 * sin(2 * (pi / m_187) * i_189)]
413+ return["Tuple2", r_185 * Math.cos(2 * (Math.PI / m_187) * i_189), r_185 * Math.sin(2 * (Math.PI / m_187) * i_189)];
411414 }
412415 return Shape_78(map(f_188)(function() {
413416 var lo = 0;