Created
April 17, 2020 22:10
-
-
Save mfikes/984914f8e13875a3d62f7adacb015504 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/mfikes/test-krell/AwesomeProject/node_modules/react-native/scripts/launchPackager.command; exit | |
Last login: Fri Apr 17 17:24:32 on ttys005 | |
The default interactive shell is now zsh. | |
To update your account to use zsh, please run `chsh -s /bin/zsh`. | |
For more details, please visit https://support.apple.com/kb/HT208050. | |
Mikes-iMac:~ mfikes$ /Users/mfikes/test-krell/AwesomeProject/node_modules/react-native/scripts/launchPackager.command; exit | |
###### ###### | |
### #### #### ### | |
## ### ### ## | |
## #### ## | |
## #### ## | |
## ## ## ## | |
## ### ### ## | |
## ######################## ## | |
###### ### ### ###### | |
### ## ## ## ## ### | |
### ## ### #### ### ## ### | |
## #### ######## #### ## | |
## ### ########## ### ## | |
## #### ######## #### ## | |
### ## ### #### ### ## ### | |
### ## ## ## ## ### | |
###### ### ### ###### | |
## ######################## ## | |
## ### ### ## | |
## ## ## ## | |
## #### ## | |
## #### ## | |
## ### ### ## | |
### #### #### ### | |
###### ###### | |
Welcome to React Native! | |
Learn once, write anywhere | |
To reload the app press "r" | |
To open developer menu press "d" | |
[Fri Apr 17 2020 18:07:38.516] BUNDLE ./index.js | |
[Fri Apr 17 2020 18:07:40.472] LOG Running "AwesomeProject" with {"rootTag":1} | |
[Fri Apr 17 2020 18:07:40.473] LOG Scan started | |
[Fri Apr 17 2020 18:07:40.473] LOG Service resolved: {"txt":{"platform":"tcd/Series4","path":"/index.html","TSN":"7460001905FE1EA","swversion":"20.7.4b.RC3-746-2-746"},"port":80,"fullName":"10.0.1.3._http._tcp","addresses":["10.0.1.3"],"host":"10.0.1.3","name":"Living Room"} | |
[Fri Apr 17 2020 18:07:41.283] LOG Service resolved: {"txt":{},"port":5003,"fullName":"10.0.1.26._http._tcp","addresses":["10.0.1.26"],"host":"10.0.1.26","name":"krell.replAwesomeProject sdm845"} | |
[Fri Apr 17 2020 18:07:41.322] LOG Service resolved: {"txt":{},"port":5003,"fullName":"10.0.1.26._http._tcp","addresses":["10.0.1.26"],"host":"10.0.1.26","name":"krell.replAwesomeProject sdm845"} | |
[Fri Apr 17 2020 18:07:53.342] LOG Closed connection with {"address": "10.0.1.58", "family": "IPv4", "port": 53761} | |
[Fri Apr 17 2020 18:07:53.345] LOG An error ocurred with client socket java.io.IOException: Socket is not connected. | |
[Fri Apr 17 2020 18:07:53.702] LOG An error ocurred with client socket Connection reset | |
[Fri Apr 17 2020 18:07:53.710] LOG Closed connection with {"address": "10.0.1.58", "family": "IPv4", "port": 53759} | |
[Fri Apr 17 2020 18:09:27.541] LOG [TypeError: undefined is not an object (evaluating 'reagent.impl.template.find_dom_node = reagent.dom.dom_node')] // Compiled by ClojureScript 0.0.363111531 {:target :nodejs} | |
goog.provide('reagent.dom'); | |
goog.require('cljs.core'); | |
goog.require('reagent.impl.util'); | |
goog.require('reagent.impl.template'); | |
goog.require('reagent.impl.batching'); | |
goog.require('reagent.ratom'); | |
reagent.dom.node$module$react_dom = require('react-dom'); | |
if((typeof reagent !== 'undefined') && (typeof reagent.dom !== 'undefined') && (typeof reagent.dom.roots !== 'undefined')){ | |
} else { | |
reagent.dom.roots = cljs.core.atom.call(null,cljs.core.PersistentArrayMap.EMPTY); | |
} | |
reagent.dom.unmount_comp = (function reagent$dom$unmount_comp(container){ | |
cljs.core.swap_BANG_.call(null,reagent.dom.roots,cljs.core.dissoc,container); | |
return reagent.dom.node$module$react_dom.unmountComponentAtNode(container); | |
}); | |
reagent.dom.render_comp = (function reagent$dom$render_comp(comp,container,callback){ | |
var _STAR_always_update_STAR__orig_val__16258 = reagent.impl.util._STAR_always_update_STAR_; | |
var _STAR_always_update_STAR__temp_val__16259 = true; | |
(reagent.impl.util._STAR_always_update_STAR_ = _STAR_always_update_STAR__temp_val__16259); | |
try{return reagent.dom.node$module$react_dom.render(comp.call(null),container,(function (){ | |
var _STAR_always_update_STAR__orig_val__16260 = reagent.impl.util._STAR_always_update_STAR_; | |
var _STAR_always_update_STAR__temp_val__16261 = false; | |
(reagent.impl.util._STAR_always_update_STAR_ = _STAR_always_update_STAR__temp_val__16261); | |
try{cljs.core.swap_BANG_.call(null,reagent.dom.roots,cljs.core.assoc,container,new cljs.core.PersistentVector(null, 2, 5, cljs.core.PersistentVector.EMPTY_NODE, [comp,container], null)); | |
reagent.impl.batching.flush_after_render.call(null); | |
if((!((callback == null)))){ | |
return callback.call(null); | |
} else { | |
return null; | |
} | |
}finally {(reagent.impl.util._STAR_always_update_STAR_ = _STAR_always_update_STAR__orig_val__16260); | |
}})); | |
}finally {(reagent.impl.util._STAR_always_update_STAR_ = _STAR_always_update_STAR__orig_val__16258); | |
}}); | |
reagent.dom.re_render_component = (function reagent$dom$re_render_component(comp,container){ | |
return reagent.dom.render_comp.call(null,comp,container,null); | |
}); | |
/** | |
* Render a Reagent component into the DOM. The first argument may be | |
* either a vector (using Reagent's Hiccup syntax), or a React element. | |
* The second argument should be a DOM node. | |
* | |
* Optionally takes a callback that is called when the component is in place. | |
* | |
* Returns the mounted component instance. | |
*/ | |
reagent.dom.render = (function reagent$dom$render(var_args){ | |
var G__16263 = arguments.length; | |
switch (G__16263) { | |
case 2: | |
return reagent.dom.render.cljs$core$IFn$_invoke$arity$2((arguments[(0)]),(arguments[(1)])); | |
break; | |
case 3: | |
return reagent.dom.render.cljs$core$IFn$_invoke$arity$3((arguments[(0)]),(arguments[(1)]),(arguments[(2)])); | |
break; | |
default: | |
throw (new Error(["Invalid arity: ",cljs.core.str.cljs$core$IFn$_invoke$arity$1(arguments.length)].join(''))); | |
} | |
}); | |
(reagent.dom.render.cljs$core$IFn$_invoke$arity$2 = (function (comp,container){ | |
return reagent.dom.render.call(null,comp,container,null); | |
})); | |
(reagent.dom.render.cljs$core$IFn$_invoke$arity$3 = (function (comp,container,callback){ | |
reagent.ratom.flush_BANG_.call(null); | |
var f = (function (){ | |
return reagent.impl.template.as_element.call(null,((cljs.core.fn_QMARK_.call(null,comp))?comp.call(null):comp)); | |
}); | |
return reagent.dom.render_comp.call(null,f,container,callback); | |
})); | |
(reagent.dom.render.cljs$lang$maxFixedArity = 3); | |
/** | |
* Remove a component from the given DOM node. | |
*/ | |
reagent.dom.unmount_component_at_node = (function reagent$dom$unmount_component_at_node(container){ | |
return reagent.dom.unmount_comp.call(null,container); | |
}); | |
/** | |
* Returns the root DOM node of a mounted component. | |
*/ | |
reagent.dom.dom_node = (function reagent$dom$dom_node(this$){ | |
return reagent.dom.node$module$react_dom.findDOMNode(this$); | |
}); | |
(reagent.impl.template.find_dom_node = reagent.dom.dom_node); | |
/** | |
* Force re-rendering of all mounted Reagent components. This is | |
* probably only useful in a development environment, when you want to | |
* update components in response to some dynamic changes to code. | |
* | |
* Note that force-update-all may not update root components. This | |
* happens if a component 'foo' is mounted with `(render [foo])` (since | |
* functions are passed by value, and not by reference, in | |
* ClojureScript). To get around this you'll have to introduce a layer | |
* of indirection, for example by using `(render [#'foo])` instead. | |
*/ | |
reagent.dom.force_update_all = (function reagent$dom$force_update_all(){ | |
reagent.ratom.flush_BANG_.call(null); | |
var seq__16265_16269 = cljs.core.seq.call(null,cljs.core.vals.call(null,cljs.core.deref.call(null,reagent.dom.roots))); | |
var chunk__16266_16270 = null; | |
var count__16267_16271 = (0); | |
var i__16268_16272 = (0); | |
while(true){ | |
if((i__16268_16272 < count__16267_16271)){ | |
var v_16273 = cljs.core._nth.call(null,chunk__16266_16270,i__16268_16272); | |
cljs.core.apply.call(null,reagent.dom.re_render_component,v_16273); | |
var G__16274 = seq__16265_16269; | |
var G__16275 = chunk__16266_16270; | |
var G__16276 = count__16267_16271; | |
var G__16277 = (i__16268_16272 + (1)); | |
seq__16265_16269 = G__16274; | |
chunk__16266_16270 = G__16275; | |
count__16267_16271 = G__16276; | |
i__16268_16272 = G__16277; | |
continue; | |
} else { | |
var temp__5735__auto___16278 = cljs.core.seq.call(null,seq__16265_16269); | |
if(temp__5735__auto___16278){ | |
var seq__16265_16279__$1 = temp__5735__auto___16278; | |
if(cljs.core.chunked_seq_QMARK_.call(null,seq__16265_16279__$1)){ | |
var c__11610__auto___16280 = cljs.core.chunk_first.call(null,seq__16265_16279__$1); | |
var G__16281 = cljs.core.chunk_rest.call(null,seq__16265_16279__$1); | |
var G__16282 = c__11610__auto___16280; | |
var G__16283 = cljs.core.count.call(null,c__11610__auto___16280); | |
var G__16284 = (0); | |
seq__16265_16269 = G__16281; | |
chunk__16266_16270 = G__16282; | |
count__16267_16271 = G__16283; | |
i__16268_16272 = G__16284; | |
continue; | |
} else { | |
var v_16285 = cljs.core.first.call(null,seq__16265_16279__$1); | |
cljs.core.apply.call(null,reagent.dom.re_render_component,v_16285); | |
var G__16286 = cljs.core.next.call(null,seq__16265_16279__$1); | |
var G__16287 = null; | |
var G__16288 = (0); | |
var G__16289 = (0); | |
seq__16265_16269 = G__16286; | |
chunk__16266_16270 = G__16287; | |
count__16267_16271 = G__16288; | |
i__16268_16272 = G__16289; | |
continue; | |
} | |
} else { | |
} | |
} | |
break; | |
} | |
return reagent.impl.batching.flush_after_render.call(null); | |
}); | |
//# sourceMappingURL=dom.js.map | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment