Sha256: 1ae70841ff710dd86768ce74041afc635ab8a153926caae4833ca6b2ad58cdf8

Contents?: true

Size: 1.43 KB

Versions: 10

Compression:

Stored size: 1.43 KB

Contents

<!DOCTYPE HTML>
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>radiotower</title>
    <!-- <script type="text/javascript" src="js/vendor/faye-browser-min.js"></script> -->
    <!-- <script type="text/javascript" src="js/vendor/jsonp.js"></script> -->
    <!-- <script type="text/javascript" src="js/transistor/radio.js"></script> -->
    <!-- <script type="text/javascript" src="js/transistor/control.js"></script> -->
    <!-- <script type="text/javascript" src="js/transistor/binder.js"></script> -->
    <script type="text/javascript" src="build/src/transistor.js"></script>
    <script type="text/javascript">

      var control = Transistor.Control(
        'http://localhost:9700',              // broadcaster
        'e0745051ed75e95d1088986fedbde764',   // station uid
        '26d47e42b5ce83a934725f5e18e01d2b'    // push token
      )

      var radio = Transistor.Radio(
        'http://localhost:9703',              // station_finder
        'e0745051ed75e95d1088986fedbde764',   // station uid
        '4b9b62aae02f1f4fe079da7bcd0be00d'    // test/live token
      );

      // explicit listener function
      radio.tune("about", function(event, args) {
        console.log('about', event, args);
      });

      // bind channel to a local array
      var news = [];
      radio.tune("news", Transistor.Binder(news));

      radio.turnOn();
    </script>
  </head>
  <body>

  </body>
</html>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
transistor-0.1.13 index.html
transistor-0.1.12 index.html
transistor-0.1.11 index.html
transistor-0.1.10 index.html
transistor-0.1.9 index.html
transistor-0.1.8 index.html
transistor-0.1.7 index.html
transistor-0.1.6 index.html
transistor-0.1.5 index.html
transistor-0.1.4 index.html