mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
a1eb56c14f
unicodejs.graphemebreak.js * New file: singleton class with splitClusters method * On load, builds graphemeBreakRegexp from unicodejs.graphemebreakproperties.js unicodejs.js * Remove old splitClusters method (was just a placeholder) * Change "conjunction" -> "disjunction", for consistency and correctness unicodejs.textstring.js * Use new splitClusters method modules/ve/ve.js * Use new splitClusters method unicodejs.wordbreak.text.js * Add new splitClusters test * Refactor charRangeArrayRegexp test to use splitClusters PHP files * add unicodejs.graphemebreak.js, unicodejs.graphemebreakproperties.js .docs/categories.json * add unicodeJS.wordbreak class Change-Id: I8f512e2fc2c46eb4b5f00994a8dac88f3c8f7dd2
35 lines
876 B
PHP
35 lines
876 B
PHP
<!--
|
|
/**
|
|
* UnicodeJS tests
|
|
*
|
|
* @file
|
|
* @copyright 2013 UnicodeJS team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
-->
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>UnicodeJS Tests</title>
|
|
|
|
<!-- Load test framework -->
|
|
<link rel="stylesheet" href="../qunit/qunit.css">
|
|
<script src="../qunit/qunit.js"></script>
|
|
|
|
<!-- Dependencies -->
|
|
<script src="../jquery/jquery.js"></script>
|
|
<script src="unicodejs.js"></script>
|
|
<script src="unicodejs.textstring.js"></script>
|
|
<script src="unicodejs.graphemebreakproperties.js"></script>
|
|
<script src="unicodejs.graphemebreak.js"></script>
|
|
<script src="unicodejs.wordbreakproperties.js"></script>
|
|
<script src="unicodejs.wordbreak.js"></script>
|
|
|
|
<script src="unicodejs.wordbreak.test.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="qunit"></div>
|
|
</body>
|
|
</html>
|