1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// STRING TRANSFORMATION
/* jshint esversion:6, -W097 */
/* jslint esversion:6 */
/* global exports, console */
"use strict";
if (typeof(process) !== 'undefined') {
var char_player = require("./char_player.js");
} else if (typeof(require) !== 'undefined') {
var char_player = require("resource://grammalecte/graphspell/char_player.js");
}
// Note: 48 is the ASCII code for "0"
var str_transform = {
|
>
<
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// STRING TRANSFORMATION
/* jshint esversion:6, -W097 */
/* jslint esversion:6 */
/* global exports, console */
"use strict";
if (typeof(process) !== 'undefined') {
var char_player = require("./char_player.js");
}
// Note: 48 is the ASCII code for "0"
var str_transform = {
|