mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 04:11:49 +03:00
module for tlak
This commit is contained in:
parent
e5b8d19274
commit
21fb6583fa
@ -1,6 +1,6 @@
|
||||
main = {
|
||||
mount: function() { console.log('mount.') },
|
||||
unmount: function() { console.log('unmount.') }
|
||||
}
|
||||
|
||||
window.tree.modules.talk = main
|
||||
window.tree.components.talk = React.createClass({
|
||||
render: function() {
|
||||
return (React.DOM.div({}, "rendered."));
|
||||
}
|
||||
})
|
||||
|
@ -1 +0,0 @@
|
||||
<module path="/home/pub/module/main.js" name="talk" />
|
1
pub/module/mod/elem.hook
Normal file
1
pub/module/mod/elem.hook
Normal file
@ -0,0 +1 @@
|
||||
;module(path "/home/pub/talk/main.js", component "talk");
|
@ -29,7 +29,7 @@
|
||||
;script(type "text/javascript", src "//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.min.js");
|
||||
;script(type "text/javascript", src "//cdnjs.cloudflare.com/ajax/libs/react/0.12.2/react.js");
|
||||
;script(type "text/javascript", src "//cdnjs.cloudflare.com/ajax/libs/codemirror/4.3.0/codemirror.js");
|
||||
;script(type "text/javascript", src "/{dez}/lib/js/urb.js");
|
||||
;script(type "text/javascript", src "/~/at/{dez}/lib/js/urb.js");
|
||||
;script(type "text/javascript", src "/{dez}/lib/js/hoon.js");
|
||||
;script(type "text/javascript", src "/{dez}/pub/tree/main.js");
|
||||
::;script(type "text/javascript", src "http://localhost:8000/docs/pub/tree/src/js/main.js");
|
||||
|
Loading…
Reference in New Issue
Block a user