<commit_before>OhSnap!.js
=========

> Oh Snap ! The server crashed... Try again later :D

A simple notification jQuery/Zepto library designed to be used in mobile apps

Check out this [demo page](http://justindomingue.github.io/ohSnap/ "Demo")

Installation
------------

Just link the js file around your body end tag :

    <script src="js/ohsnap.js"></script>

Also add a `div` which will contain the alerts :

    <div id="ohsnap"></div>

Furthermore, OhSnap!.js creates a div with classes `.alert .alert-color` so you will want to have something like :

    /* ALERTS */
    /* inspired by Twitter Bootstrap */
   
    .alert {
      padding: 15px;
      margin-bottom: 20px;
      border: 1px solid #eed3d7;
      border-radius: 4px;
      position: absolute;
      bottom: 0px;
      right: 21px;
      /* Each alert has its own width */
      float: right; 
      clear: right;
    }

    .alert-red {
      color: white;
      background-color: #DA4453;
    }<commit_msg>Added jQuery/Zepto as a dependency<commit_after>OhSnap!.js
=========

> Oh Snap ! The server crashed... Try again later :D

A simple notification jQuery/Zepto library designed to be used in mobile apps

Check out this [demo page](http://justindomingue.github.io/ohSnap/ "Demo")

Installation
------------

Dependency: jQuery or Zepto.

Just link the js file around your body end tag :

    <script src="js/ohsnap.js"></script>

Also add a `div` which will contain the alerts :

    <div id="ohsnap"></div>

Furthermore, OhSnap!.js creates a div with classes `.alert .alert-color` so you will want to have something like :

    /* ALERTS */
    /* inspired by Twitter Bootstrap */
   
    .alert {
      padding: 15px;
      margin-bottom: 20px;
      border: 1px solid #eed3d7;
      border-radius: 4px;
      position: absolute;
      bottom: 0px;
      right: 21px;
      /* Each alert has its own width */
      float: right; 
      clear: right;
    }

    .alert-red {
      color: white;
      background-color: #DA4453;
    }
{'fraction_non_alphanumeric': 0.12369597615499255, 'fraction_numerical': 0.014903129657228018, 'mean_word_length': 2.4604810996563575, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4949931', 'n_tokens_mistral': 666, 'n_tokens_neox': 607, 'n_words': 220}