<commit_before><!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
    <link rel="stylesheet" href="css/style.css" />
  </head>
  <body ng-app="app">
    <h2>Angular WYSIWYG directive</h2>
    <form>

      <div ng-controller="MyCtrl">
        <p>Your models data</p>
        <p style="height:80px; width:100%; border: 1px solid #ddd">
          {{data.text}}
        </p>
        <wysiwyg textarea-id="question"
        textarea-class="form-control"
        textarea-height="180px"
        textarea-name="textareaQuestion"
        textarea-required
        ng-model="data.text"
        enable-bootstrap-title="true"
        textarea-menu="menu"
        disabled="disabled">
        </wysiwyg>
        <button ng-click="setDisabled()">Disable</button>
      </div>
    </form>


    <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
    <script src="components/angular/angular.js"></script>
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <script src="scripts/app.js"></script>
    <script src="scripts/bootstrap-colorpicker-module.js"></script>
    <script src="dist/angular-wysiwyg.js"></script>
  </body>
</html><commit_msg>add embeds APIs<commit_after><!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
    <link rel="stylesheet" href="css/style.css" />
  </head>
  <body ng-app="app">
    <h2>Angular WYSIWYG directive</h2>
    <form>

      <div ng-controller="MyCtrl">
        <p>Your models data</p>
        <p style="height:auto; width:100%; border: 1px solid #ddd">
          {{data.text}}
        </p>
        <wysiwyg textarea-id="question"
          textarea-class="form-control"
          textarea-height="180px"
          textarea-name="textareaQuestion"
          textarea-required
          ng-model="data.text"
          enable-bootstrap-title="true"
          textarea-menu="menu"
          disabled="disabled">
        </wysiwyg>
      <button ng-click="sendData()"> send</button>
      </div>
    </form>

    <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
    <script src="components/angular/angular.js"></script>
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <script src="scripts/app.js"></script>
    <script src="scripts/bootstrap-colorpicker-module.js"></script>
    <script src="dist/angular-wysiwyg.js"></script>
    <script async defer src="//platform.instagram.com/en_US/embeds.js"></script>
    <script src="https://platform.twitter.com/widgets.js" async></script>
    <script src="//connect.facebook.net/ar_AR/sdk.js#xfbml=1&version=v2.3" async></script>
  </body>
</html>
{'fraction_non_alphanumeric': 0.18733333333333332, 'fraction_numerical': 0.015666666666666666, 'mean_word_length': 2.922875816993464, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 1, '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': '6734007', 'n_tokens_mistral': 1064, 'n_tokens_neox': 1018, 'n_words': 138}