<commit_before><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Weex Vue Demo</title>

  <!-- You should set 'weex-viewport' to your design pixel width, and the
    viewport meta should be set like below, OTHERWISE it won't work.-->
  <meta name="weex-viewport" content="750">
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="apple-touch-fullscreen" content="yes" />
  <meta name="format-detection" content="telephone=no, email=no" />

  <!-- About style below: html's height should set to 100%, and this
    style should be added before the weex-vue-render script loaded.
    OTHERWISE the 'weex.config.env.deviceHeight' will not work. -->
  <style>
    html, body {
      -ms-overflow-style: scrollbar;
      -webkit-tap-highlight-color: transparent;
      padding: 0;
      margin: 0;
      width: 100%;
      height: 100%;
    }
  </style>

  <!-- <script src="./node_modules/vue/dist/vue.runtime.min.js"></script> -->
  <script src="./node_modules/vue/dist/vue.runtime.js"></script>
  <!-- <script src="dist/vue.runtime.js"></script> -->
  <!-- <script src="./node_modules/weex-vue-render/index.min.js"></script> -->
  <script src="./packages/weex-vue-render/dist/index.js"></script>
  <!-- <script src="./packages/weex-vue-render/dist/index.min.js"></script> -->
</head>
<body>
  <div id="root"></div>
  <script>
    /**
     * these iife is just for the convenience for the showcase of demos.
     * you can import a jsbundle by wrapping it in a <script> tag.
     * e.g. <script src="examples/build/vue-web/vue/index.js"></*script>
     */
    ; (function () {
      function getUrlParam (key) {
        var reg = new RegExp('[?|&]' + key + '=([^&]+)')<commit_msg>* [html5] add perf info panel.<commit_after><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Weex Vue Demo</title>

  <!-- You should set 'weex-viewport' to your design pixel width, and the
    viewport meta should be set like below, OTHERWISE it won't work.-->
  <meta name="weex-viewport" content="750">
  <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <meta name="apple-touch-fullscreen" content="yes" />
  <meta name="format-detection" content="telephone=no, email=no" />

  <!-- About style below: html's height should set to 100%, and this
    style should be added before the weex-vue-render script loaded.
    OTHERWISE the 'weex.config.env.deviceHeight' will not work. -->
  <style>
    html, body {
      -ms-overflow-style: scrollbar;
      -webkit-tap-highlight-color: transparent;
      padding: 0;
      margin: 0;
      width: 100%;
      height: 100%;
      background-color: green;
      overflow-x: hidden;
    }
    #info {
      position: fixed;
      z-index: 999999;
      top: 100px;
      left: 0;
      width: 100%;
      height: 400px;
      font-size: 24px;
      color: green;
      padding: 10px;
      overflow-x: hidden;
      overflow-y: scroll;
      background-color: #eee;
      opacity: 0.7;
    }
  </style>

  <script src="./node_modules/vue/dist/vue.runtime.min.js"></script>
  <!-- <script src="./node_modules/vue/dist/vue.runtime.js"></script> -->
  <!-- <script src="dist/vue.runtime.js"></script> -->
  <!-- <script src="./node_modules/weex-vue-render/index.min.js"></script> -->
  <!-- <script src="./packages/weex-vue-render/dist/index.js"></script> -->
  <script src="./packages/weex-vue-render/dist/index.min.js"></script>
</head>
<body>
  <div id="info">
  </div>
  <div id="root"></div>
  <script>
    var info = document.getElementById('info')
    var isError = false
    window.onerror = function (e) {
      info.innerHTML = info
      isError = true
    }
    setTimeout(function () {
      if (!isError) {
        info.innerHTML = JSON.stringify(_weex_perf, null, 2).replace(/\n/g, '<br/>').replace(/ /g, '&nbsp;&nbsp;')
      }
    }, 10000)
  </script>
  <script>
    /**
     * these iife is just for the convenience for the showcase of demos.
     * you can import a jsbundle by wrapping it in a <script> tag.
     * e.g. <script src="examples/build/vue-web/vue/index.js"></*script>
     */
    ; (function () {
      function getUrlParam (key) {
        var reg = new RegExp('[?|&]' + key + '=([^&]+)')
{'fraction_non_alphanumeric': 0.18268168765186657, 'fraction_numerical': 0.013474707311685442, 'mean_word_length': 2.906816220880069, 'pattern_counts': {'":': 0, '<': 88, '<?xml version=': 0, '>': 88, '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': '151938', 'n_tokens_mistral': 1600, 'n_tokens_neox': 1511, 'n_words': 359}