Ru-bash javascript

  • Published on
    16-Nov-2014

  • View
    135

  • Download
    0

Embed Size (px)

DESCRIPTION

- .

Transcript

  • 1. : V -51

2. * - . * -, , . * . * -, . 3. -, . : 4. - HTML- JavaScript 5. HTML- / JavaScript HTML

. 6. Data.js Brat.js - , Replacer.js 7. . (,,)? (,,..)? ? . var bashLetters = /[^^^^^^^^]/; if (word.match(bashLetters)) { // . . } else { // . } var sharedLetters = /[^^^^^^^^^^]/; if (word.match(sharedLetters)) { // . } var word = document.getElementById('textarea').value; 8. 3- 0.50% 1.67% 0,02% 8,39% 0,008% 0,005% 9. : var lettersRus = ["", "", "" var frequencyRus = [12.61620016, 10.54564068, 9.990117223 : if (frequencyRus[x] > frequencyBash[y]) { // . } else { // . } var x = lettersRus.indexOf(); var y = lettersBash.indexOf(); : 10. : : 0.001712507 0.040658522 - 0.000964412 : : 9,62338683166541E-06 - 0,078584577 11. document.getElementById("textarea").value=newWord; / HTML . , . var begin = ; var end = ; var newWord = begin + end; 12. http://lcph.bashedu.ru/index.php?go=rb 13. -: *Internet Explorer 11 *Google Chrome 33 *Mozilla Firefox 28 : *Windows XP, 7, 8. *Android 4.x. *iOS 6, 7.