1.0.0 • Published 7 years ago

unified_hyphen v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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>
1.0.0

7 years ago