on master help sign in
Change the name of `dragForm` to `draggable`.
commit3a47ed34aa4337b1726bbdcdf219f74034adafc6 authorevancz <info@elm-lang.org> dateFri 19 Oct 2012, 00:27 (14 years ago) parent1723248
2 files changed+3−3
core-elm/Automaton.elm+1−1 core-js/Automaton.js+2−2
core-elm/Automaton.elm+1−1
@@ -83,7 +83,7 @@ stepDrag (press,pos) (ds,form) =
8383 (form', (Listen,form')))
8484 }
8585
86−dragForm form = init' (Listen,form) stepDrag
86+draggable form = init' (Listen,form) stepDrag
8787
8888
8989{--- See the following papers for ideas on how to make this faster:
core-js/Automaton.js+2−2
@@ -181,9 +181,9 @@ Elm.Automaton=function(){
181181 throw "Non-exhaustive pattern match in case";}();
182182 }
183183 throw "Non-exhaustive pattern match in case";}();};};
184− function dragForm_14(form_93){
184+ function draggable_14(form_93){
185185 return init__7(["Tuple2",Listen_9,form_93])(stepDrag_13);};
186− return {Automaton:Automaton_0,run:run_1,step:step_2,composeAuto:composeAuto_3,combine:combine_4,pure:pure_5,init:init_6,init_:init__7,count:count_8,Listen:Listen_9,Ignore:Ignore_10,DragFrom:DragFrom_11,vecSub:vecSub_12,stepDrag:stepDrag_13,dragForm:dragForm_14};}();
186+ return {Automaton:Automaton_0,run:run_1,step:step_2,composeAuto:composeAuto_3,combine:combine_4,pure:pure_5,init:init_6,init_:init__7,count:count_8,Listen:Listen_9,Ignore:Ignore_10,DragFrom:DragFrom_11,vecSub:vecSub_12,stepDrag:stepDrag_13,draggable:draggable_14};}();
187187Elm.main=function(){
188188 return Elm.Automaton.main;};
189189} catch (e) {Elm.main=function() {var msg = ('<br/><h2>Your browser may not be supported. Are you using a modern browser?</h2>' + '<br/><span style="color:grey">Runtime Error in Automaton module:<br/>' + e + '</span>');document.body.innerHTML = Text.monospace(msg);throw e;};}