No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
unified_hyphen.js

README.md

unified_hyphen_js

rubygem https://github.com/ykyk1218/unified_hyphen

Usage

<!DOCTYPE html>
<html>
<head>
<meta name="robots" content="noindex,nofollow" />
<meta charset="UTF-8">
<title>This is Template</title>

<script src="./unified_hyphen.js"></script>
<script>
  window.onload = function() {
    var t = document.getElementById("sample").textContent;
    t = t.unify_ja_hyphen()
    alert(t);  //Hello-World
  }
</script>
</head>
<body>
<p id="sample">HelloーWorld!</p>
</body>
</html>