• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision0108332721bce4783d3ce6b36d24cf1fed590962 (tree)
Zeit2017-09-24 18:39:33
Autorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

Support browsers that doesn't support String.normalize

Ändern Zusammenfassung

Diff

--- a/skin/search2.js
+++ b/skin/search2.js
@@ -176,6 +176,10 @@ window.addEventListener && window.addEventListener('DOMContentLoaded', function(
176176 }
177177 function prepareKanaMap() {
178178 if (kanaMap !== null) return;
179+ if (!String.prototype.normalize) {
180+ kanaMap = {};
181+ return;
182+ }
179183 var dakuten = '\uFF9E';
180184 var maru = '\uFF9F';
181185 var map = {};