Giter Site home page Giter Site logo

shorty.js's Issues

This code seems not working properly.

image

Payloads:

{"html":"<tr data-rid=\"6374a0646ad2a099060d0d4a\">\n  <td class=\"col--status record-status--border  pass\">\n  <div class=\"col--status__text\">\n    <span class=\"icon record-status--icon pass\"></span>\n    <a \n      href=\"/d/system/record/6374a0646ad2a099060d0d4a\"\n      class=\"record-status--text pass\"\n    >\n      <span style=\"color: #25ad40\">100</span>\n      Accepted\n    </a>\n  </div>\n  </td>\n\n  <td class=\"col--problem col--problem-name\">\n      <form class=\"form--inline\" method=\"post\" action=\"/d/system/record/6374a0646ad2a099060d0d4a\">\n      <input type=\"hidden\" name=\"operation\" value=\"rejudge\">\n      <input type=\"hidden\" name=\"csrfToken\" value=\"\">\n      <button type=\"submit\" class=\"link text-maroon lighter\">\n        <span class=\"icon icon-refresh\"></span>\n        ÍK\n      </button> |\n    </form>\n              <a href=\"/p/H1000\"><b>H1000</b>&nbsp;&nbsp;A + B Problem</a>\n        </td>\n  <td class=\"col--submit-by\">\n    <a href=\"/user/13196\">\n              �má\n          </a>\n  </td>\n  <td class=\"col--time\">20ms</td>\n  <td class=\"col--memory\">384 KiB</td>\n  <td class=\"col--lang\">C++11</td>\n  <td class=\"col--submit-at\"><span class=\"time relative\" data-timestamp=\"1668587620\">2022-11-16 16:33:40</span></td>\n</tr>\n"}

{"html":"<tr data-rid=\"6374aba54d63a498cb187c6a\">\n  <td class=\"col--status record-status--border  fail\">\n  <div class=\"col--status__text\">\n    <span class=\"icon record-status--icon fail\"></span>\n    <a \n      href=\"/d/system/record/6374aba54d63a498cb187c6a\"\n      class=\"record-status--text fail\"\n    >\n      <span style=\"color: #ff4f4f\">0</span>\n      Compile Error\n    </a>\n  </div>\n  </td>\n\n  <td class=\"col--problem col--problem-name\">\n      <form class=\"form--inline\" method=\"post\" action=\"/d/system/record/6374aba54d63a498cb187c6a\">\n      <input type=\"hidden\" name=\"operation\" value=\"rejudge\">\n      <input type=\"hidden\" name=\"csrfToken\" value=\"\">\n      <button type=\"submit\" class=\"link text-maroon lighter\">\n        <span class=\"icon icon-refresh\"></span>\n        重测\n      </button> |\n    </form>\n              <a href=\"/p/H1000\"><b>H1000</b>&nbsp;&nbsp;A + B Problem</a>\n      <span class=\"text-orange\">(自测)</span>  </td>\n  <td class=\"col--submit-by\">\n    <a href=\"/user/8265\">\n              \n          </a>\n  </td>\n  <td class=\"col--time\">0ms</td>\n  <td class=\"col--memory\">0 Bytes</td>\n  <td class=\"col--lang\">C++20(O2)</td>\n  <td class=\"col--submit-at\"><span class=\"time relative\" data-timestamp=\"1668590501\">2022-11-16 17:21:41</span></td>\n</tr>\n"}

Shorty is not defined

<script src="/lib/shorty.min.js"></script>
<script>
    window.shorty = new Shorty();
</script>

error in console : Shorty is not defined

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.