@@ -60,7 +60,7 @@ ElmCode.Graphics.Element = function() {
62 function EImage_40(a1) {
62 function EImage_40(a1) {
63− return["EImage", a1]
63+ return["EImage", Foreign.JavaScript.castStringToJSString(a1)]
65 function EVideo_41(a1) {
65 function EVideo_41(a1) {
66 return["EVideo", a1]
66 return["EVideo", a1]
@@ -131,7 +131,7 @@ ElmCode.Graphics.Element = function() {
131 function FImage_87(a1) {
131 function FImage_87(a1) {
132 return function(a2) {
132 return function(a2) {
133 return function(a3) {
133 return function(a3) {
134− return["FImage", a1, a2, a3]
134+ return["FImage", a1, a2, Foreign.JavaScript.castStringToJSString(a3)]
@@ -148,11 +148,16 @@ ElmCode.Graphics.Element = function() {
148 var topRight_23 = Position_17(Far_16)(Near_14);
148 var topRight_23 = Position_17(Far_16)(Near_14);
149 var bottomLeft_24 = Position_17(Near_14)(Far_16);
149 var bottomLeft_24 = Position_17(Near_14)(Far_16);
150 var bottomRight_25 = Position_17(Far_16)(Far_16);
150 var bottomRight_25 = Position_17(Far_16)(Far_16);
151− var midLeft_26 = Position_17(Mid_15)(Near_14);
151+ var midLeft_26 = Position_17(Near_14)(Mid_15);
152− var midRight_27 = Position_17(Mid_15)(Far_16);
152+ var midRight_27 = Position_17(Far_16)(Mid_15);
153− var midTop_28 = Position_17(Near_14)(Mid_15);
153+ var midTop_28 = Position_17(Mid_15)(Near_14);
154− var midBottom_29 = Position_17(Far_16)(Mid_15);
154+ var midBottom_29 = Position_17(Mid_15)(Far_16);
155 var middle_30 = Position_17(Mid_15)(Mid_15);
155 var middle_30 = Position_17(Mid_15)(Mid_15);
156+ function middleAt(a1) {
157+ return function(a2) {
158+ return["PositionAt", a1, a2]
156 var topLeftAt_31 = PositionTL_18;
161 var topLeftAt_31 = PositionTL_18;
157 var topRightAt_32 = PositionTR_19;
162 var topRightAt_32 = PositionTR_19;
158 var bottomLeftAt_33 = PositionBL_20;
163 var bottomLeftAt_33 = PositionBL_20;
@@ -375,9 +380,9 @@ ElmCode.Graphics.Element = function() {
375 return newElement_38(EEmpty_45)(w_166)(h_167)(1)(Nothing)
380 return newElement_38(EEmpty_45)(w_166)(h_167)(1)(Nothing)
378− function container_67(pos_168) {
383+ function container_67(w_169) {
379− return function(w_169) {
384+ return function(h_170) {
380− return function(h_170) {
385+ return function(pos_168) {
381 return function(e_171) {
386 return function(e_171) {
382 return newElement_38(EContainer_46(pos_168)(e_171))(w_169)(h_170)(1)(Nothing)
387 return newElement_38(EContainer_46(pos_168)(e_171))(w_169)(h_170)(1)(Nothing)
@@ -539,7 +544,7 @@ ElmCode.Graphics.Element = function() {
542− return{left:left_6, right:right_7, down:down_8, up:up_9, inward:inward_10, outward:outward_11, topLeft:topLeft_22, topRight:topRight_23, bottomLeft:bottomLeft_24, bottomRight:bottomRight_25, midLeft:midLeft_26, midRight:midRight_27, midTop:midTop_28, midBottom:midBottom_29, middle:middle_30, topLeftAt:topLeftAt_31, topRightAt:topRightAt_32, bottomLeftAt:bottomLeftAt_33, bottomRightAt:bottomRightAt_34, absolute:absolute_35, relative:relative_36, width:width_47, height:height_48, size:size_49, opacity:opacity_50,
547+ return{left:left_6, right:right_7, down:down_8, up:up_9, inward:inward_10, outward:outward_11, topLeft:topLeft_22, topRight:topRight_23, bottomLeft:bottomLeft_24, bottomRight:bottomRight_25, midLeft:midLeft_26, midRight:midRight_27, midTop:midTop_28, midBottom:midBottom_29, middle:middle_30, middleAt:middleAt, topLeftAt:topLeftAt_31, topRightAt:topRightAt_32, bottomLeftAt:bottomLeftAt_33, bottomRightAt:bottomRightAt_34, absolute:absolute_35, relative:relative_36, width:width_47, height:height_48, size:size_49, opacity:opacity_50,
543 color:color_51, widthOf:widthOf_52, heightOf:heightOf_53, sizeOf:sizeOf_54, text:text_56, plainText:plainText, centeredText:centeredText, justifiedText:justifiedText, rightedText:rightedText, image:image_57, video:video_58, fittedImage:fittedImage_59, flow:flow_60, above:above_61, below:below_62, beside:beside_63, layers:layers_64, collage:collage_65, spacer:spacer_66, container:container_67, line:line_76, segment:segment_77, polygon:polygon_79, rect:rect_80, oval:oval_81, circle:circle_82, ngon:ngon_83, solid:solid_89, dotted:dotted_90, dashed:dashed_91, customLine:customLine_92, filled:filled_93,
548 color:color_51, widthOf:widthOf_52, heightOf:heightOf_53, sizeOf:sizeOf_54, text:text_56, plainText:plainText, centeredText:centeredText, justifiedText:justifiedText, rightedText:rightedText, image:image_57, video:video_58, fittedImage:fittedImage_59, flow:flow_60, above:above_61, below:below_62, beside:beside_63, layers:layers_64, collage:collage_65, spacer:spacer_66, container:container_67, line:line_76, segment:segment_77, polygon:polygon_79, rect:rect_80, oval:oval_81, circle:circle_82, ngon:ngon_83, solid:solid_89, dotted:dotted_90, dashed:dashed_91, customLine:customLine_92, filled:filled_93,
544 outlined:outlined_94, customOutline:customOutline_95, textured:textured, sprite:sprite_96, toForm:toForm_97, rotate:rotate_98, scale:scale_99, move:move_100}
549 outlined:outlined_94, customOutline:customOutline_95, textured:textured, sprite:sprite_96, toForm:toForm_97, rotate:rotate_98, scale:scale_99, move:move_100}