mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-04 20:54:21 +03:00
radio testing
This commit is contained in:
parent
6dfe33c181
commit
54f5124a1c
@ -15,6 +15,7 @@
|
||||
|%
|
||||
++ mime [/text/json (taco (crip (pojo json)))]
|
||||
++ json
|
||||
=> +
|
||||
|^ %+ joba -.rep
|
||||
?- -.rep
|
||||
%config ~! rep (conf +.rep)
|
||||
@ -23,7 +24,7 @@
|
||||
%group %.(+.rep (jome phon stas))
|
||||
==
|
||||
++ joce |=(a=span [%s a])
|
||||
++ jope |=(a=ship [%s (crip +:(scow %p a))]
|
||||
++ jope |=(a=ship (jape +:<a>)) ::[%s (crip +:(scow %p a))])
|
||||
++ joke |=(a=tank [%s (role (turn (wash 0^80 a) crip))])
|
||||
++ jode |=(a=time (jone (div (mul (sub a ~1970.1.1) 1.000) ~s1)))
|
||||
:: ++ jase
|
||||
|
11
main/pub/src/radio/hymn.hook
Normal file
11
main/pub/src/radio/hymn.hook
Normal file
@ -0,0 +1,11 @@
|
||||
;html
|
||||
;head
|
||||
;title: Radio Tests
|
||||
;script(type "text/javascript", src "//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js");
|
||||
;script(type "text/javascript", src "/gep/hart.js");
|
||||
==
|
||||
;body
|
||||
;script(type "text/javascript", src "/gen/main/lib/urb.js");
|
||||
;script(type "text/javascript", src "/gen/main/pub/src/radio/main.js");
|
||||
==
|
||||
==
|
14
main/pub/src/radio/main.js
Normal file
14
main/pub/src/radio/main.js
Normal file
@ -0,0 +1,14 @@
|
||||
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({"/Users/galen/Documents/Projects/urbit.tlon/chat/pub/src/radio/main.coffee":[function(require,module,exports){
|
||||
$(function() {
|
||||
return window.urb.subscribe({
|
||||
appl: "rodeo",
|
||||
path: "/"
|
||||
}, function(err, res) {
|
||||
console.log('updates');
|
||||
return console.log(arguments);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
},{}]},{},["/Users/galen/Documents/Projects/urbit.tlon/chat/pub/src/radio/main.coffee"]);
|
Loading…
Reference in New Issue
Block a user