@@ -27,7 +27,7 @@ Elm.worker = function(module, ports) {
27 return init(ElmRuntime.Display.NONE, {}, module, ports || {});
27 return init(ElmRuntime.Display.NONE, {}, module, ports || {});
30−Elm.input = function(defaultValue, errorHandler) {
30+Elm.signal = function(defaultValue, errorHandler) {
31 var subscribers = []
31 var subscribers = []
32 function subscribe(handler) {
32 function subscribe(handler) {
33 subscribers.push(handler);
33 subscribers.push(handler);
@@ -133,7 +133,7 @@ function init(display, container, module, ports, moduleToReplace) {
135 reportAnyErrors();
135 reportAnyErrors();
136− return { swap:swap, output:elm.ports.outgoing };
136+ return { swap:swap, ports:elm.ports.outgoing };
139function checkPorts(elm) {
139function checkPorts(elm) {