Skip to content

Commit 6af4545

Browse files
committed
Syntactical Corrections
1 parent a5dcece commit 6af4545

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

characterEquivalencies.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
*** Provides Support for Charachter Equivilancies ***
2+
*** Provides Support for Character Equivalencies ***
33
*This file contains the setupCharacterEquivalencies() function that is run in
44
startup() when the editor first loads.
55
*The function creates new command keys to support automatic conversion between
@@ -9,8 +9,8 @@
99

1010
function setupCharacterEquivalencies()
1111
{
12-
var cursorMoved = false; //Global varaible to be set when the cursor moves
13-
//after a charachter replacement occurs
12+
var cursorMoved = false; //Global variable to be set when the cursor moves
13+
//after a character replacement occurs
1414

1515
//Possible replacements in the editor
1616
var replacements =
@@ -37,7 +37,7 @@ function setupCharacterEquivalencies()
3737
//Symbols to add as commands
3838
var endSymbols = ['=','>','[',']'];
3939

40-
//****** Add All Character Equivalancies ********//
40+
//****** Add All Character Equivalencies ********//
4141
for(i =0; i<4; ++i)
4242
{
4343
var a = endSymbols[i];

tabs-simple.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ minigrace.stderr_write = function(value) {
77

88
minigrace.stdin_read = function() {
99
return prompt("Input: ");
10-
}
10+
};
1111

1212
minigrace.stdout_write = function(value) {
1313
var stdout = document.getElementById("stdout_txt");
@@ -123,7 +123,7 @@ function startup() {
123123
document.getElementById('code_txt_real').style.height = (document.getElementById('stdout_txt').clientHeight
124124
+ document.getElementById('stdout_options').clientHeight) + 'px';
125125
document.getElementById('code_txt_real').style.width = (document.getElementById('stdout_txt').clientWidth - 10) + 'px';
126-
}
126+
};
127127

128128
// Get code from ace editor.
129129
getCode = function() {

0 commit comments

Comments
 (0)