<commit_before>* Flyer.js

  [[./doc/intro.png]]

  *flyer.js* is a lightweight messaging library written for
  clojurescript & javascript. 

  It provides broadcast messaging between frames, iframes, and
  windows.

* Features and Operation
  - Simple API, from which you can build more elaborate messaging
    systems.
  - Messages are broadcasted to all frames and registered windows,
    regardless of whether or not they want them (hence, the name)
  - Frames can subscribe to specific channels, and can pattern-match
    to specific topics being sent on that channel
* Javascript Configuration
  - Include /flyer.js/ and /flyer-wrapper.js/ at the end of your page
    body
    #+BEGIN_SRC js
<script type="text/javascript" src="./js/flyer.js"></script>
<script type="text/javascript" src="./js/flyer-wrapper.js"></script>
    #+END_SRC

    The *flyer-wrapper* file is only necessary if you wish to refer to
    the API functions from flyer, and not flyer.wrapper

  - In situations where you would use *window.open*, use
    *flyer.window.open* instead. This is required in order to track
    window references.
* Download
- [[https://github.com/benzap/flyer.js/releases/tag/v0.1.0][Version 0.1.0]]

* Javascript API
** flyer.broadcast([Options])
/if you aren't using flyer-wrapper, use flyer.wrapper.broadcast instead/
*** Options
    - channel :: the channel you wish to broadcast on. default is "*",
                 which stands for *all channels*
    - topic :: the topic of your broadcast message. default is "*",
               which stands for *all topics*
    - data :: any JSON serializable object
*** Examples
    #+BEGIN_SRC js
flyer.broadcast({
  channel: "default",
  topic: "person.insert",
  data: {id: 1, name: "Ben"}
});

flyer.broadcast({
  channel: "default",<commit_msg>added new version<commit_after>* Flyer.js

  [[./doc/intro.png]]

  *flyer.js* is a lightweight messaging library written for
  clojurescript & javascript. 

  It provides broadcast messaging between frames, iframes, and
  windows.

* Features and Operation
  - Simple API, from which you can build more elaborate messaging
    systems.
  - Messages are broadcasted to all frames and registered windows,
    regardless of whether or not they want them (hence, the name)
  - Frames can subscribe to specific channels, and can pattern-match
    to specific topics being sent on that channel
* Javascript Configuration
  - Include /flyer.js/ and /flyer-wrapper.js/ at the end of your page
    body
    #+BEGIN_SRC js
<script type="text/javascript" src="./js/flyer.js"></script>
<script type="text/javascript" src="./js/flyer-wrapper.js"></script>
    #+END_SRC

    The *flyer-wrapper* file is only necessary if you wish to refer to
    the API functions from flyer, and not flyer.wrapper

  - In situations where you would use *window.open*, use
    *flyer.window.open* instead. This is required in order to track
    window references.
* Download
- [[https://github.com/benzap/flyer.js/releases/tag/v0.1.1][Version 0.1.1]]
- [[https://github.com/benzap/flyer.js/releases/tag/v0.1.0][Version 0.1.0]]

* Javascript API
** flyer.broadcast([Options])
/if you aren't using flyer-wrapper, use flyer.wrapper.broadcast instead/
*** Options
    - channel :: the channel you wish to broadcast on. default is "*",
                 which stands for *all channels*
    - topic :: the topic of your broadcast message. default is "*",
               which stands for *all topics*
    - data :: any JSON serializable object
*** Examples
    #+BEGIN_SRC js
flyer.broadcast({
  channel: "default",
  topic: "person.insert",
  data: {id: 1, name: "Ben"}
});

flyer.broadcast({
  channel: "default",
{'fraction_non_alphanumeric': 0.11071817192600653, 'fraction_numerical': 0.00544069640914037, 'mean_word_length': 3.3157276995305165, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3972371', 'n_tokens_mistral': 1126, 'n_tokens_neox': 1067, 'n_words': 401}