2ElmRuntime.Render.Utils = function() {
4function newElement(elementType) {
5 var e = document.createElement(elementType);
11function addTo(container, elem) {
12 container.appendChild(elem);
16 if (c._3 === 1) { return 'rgb(' + c._0 + ', ' + c._1 + ', ' + c._2 + ')'; }
17 return 'rgba(' + c._0 + ', ' + c._1 + ', ' + c._2 + ', ' + c._3 + ')';
20function addTransform(style, trans) {
21 style.transform = trans;
22 style.msTransform = trans;
23 style.MozTransform = trans;
24 style.webkitTransform = trans;
25 style.OTransform = trans;
28function removeTransform(style) {
29 style.transform = 'none';
30 style.msTransform = 'none';
31 style.MozTransform = 'none';
32 style.webkitTransform = 'none';
33 style.OTransform = 'none';
36var List = Elm.Native.List.make({});
39 newElement:newElement,
41 fromList: List.toArray,
42 fromString: function(s) { return s; },
43 toString: function(s) { return s; },
44 eq: Elm.Native.Utils.make({}).eq,
45 addTransform: addTransform,
46 removeTransform: removeTransform
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list