Skip to content

Commit 544cb09

Browse files
committed
fix typo in split.js
1 parent ce891c2 commit 544cb09

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

lib/ace/split.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ var Split = function(container, theme, splits) {
5656
this.$splits = 0;
5757
this.$editorCSS = "";
5858
this.$editors = [];
59-
this.$oriantation = this.BESIDE;
59+
this.$orientation = this.BESIDE;
6060

6161
this.setSplits(splits || 1);
6262
this.$cEditor = this.$editors[0];
@@ -213,15 +213,15 @@ var Split = function(container, theme, splits) {
213213
return session;
214214
};
215215

216-
this.getOriantation = function() {
217-
return this.$oriantation;
216+
this.getOrientation = function() {
217+
return this.$orientation;
218218
};
219219

220-
this.setOriantation = function(oriantation) {
221-
if (this.$oriantation == oriantation) {
220+
this.setOrientation = function(orientation) {
221+
if (this.$orientation == orientation) {
222222
return;
223223
}
224-
this.$oriantation = oriantation;
224+
this.$orientation = orientation;
225225
this.resize();
226226
};
227227

@@ -230,7 +230,7 @@ var Split = function(container, theme, splits) {
230230
var height = this.$container.clientHeight;
231231
var editor;
232232

233-
if (this.$oriantation == this.BESIDE) {
233+
if (this.$orientation == this.BESIDE) {
234234
var editorWidth = width / this.$splits;
235235
for (var i = 0; i < this.$splits; i++) {
236236
editor = this.$editors[i];

0 commit comments

Comments
 (0)