Permalink
Browse files

Merge pull request #636 from ajaxorg/bugfix/fix_spelling

Bugfix/fix spelling
  • Loading branch information...
2 parents 5b6e24d + 987528b commit dcf4ae0fab0bd5f7c044359525867cdfa02d01bb @fjakobs fjakobs committed Feb 2, 2012
Showing with 12 additions and 12 deletions.
  1. +9 −9 build/demo/kitchen-sink/kitchen-sink-uncompressed.js
  2. +2 −2 demo/kitchen-sink/demo.js
  3. +1 −1 lib/ace/virtual_renderer.js
View
18 build/demo/kitchen-sink/kitchen-sink-uncompressed.js
@@ -645,9 +645,9 @@ bindDropdown("split", function(value) {
} else {
var newEditor = (sp.getSplits() == 1);
if (value == "below") {
- sp.setOriantation(sp.BELOW);
+ sp.setOrientation(sp.BELOW);
} else {
- sp.setOriantation(sp.BESIDE);
+ sp.setOrientation(sp.BESIDE);
}
sp.setSplits(2);
@@ -20973,7 +20973,7 @@ var Split = function(container, theme, splits) {
this.$splits = 0;
this.$editorCSS = "";
this.$editors = [];
- this.$oriantation = this.BESIDE;
+ this.$orientation = this.BESIDE;
this.setSplits(splits || 1);
this.$cEditor = this.$editors[0];
@@ -21130,15 +21130,15 @@ var Split = function(container, theme, splits) {
return session;
};
- this.getOriantation = function() {
- return this.$oriantation;
+ this.getOrientation = function() {
+ return this.$orientation;
};
- this.setOriantation = function(oriantation) {
- if (this.$oriantation == oriantation) {
+ this.setOrientation = function(orientation) {
+ if (this.$orientation == orientation) {
return;
}
- this.$oriantation = oriantation;
+ this.$orientation = orientation;
this.resize();
};
@@ -21147,7 +21147,7 @@ var Split = function(container, theme, splits) {
var height = this.$container.clientHeight;
var editor;
- if (this.$oriantation == this.BESIDE) {
+ if (this.$orientation == this.BESIDE) {
var editorWidth = width / this.$splits;
for (var i = 0; i < this.$splits; i++) {
editor = this.$editors[i];
View
4 demo/kitchen-sink/demo.js
@@ -455,9 +455,9 @@ bindDropdown("split", function(value) {
} else {
var newEditor = (sp.getSplits() == 1);
if (value == "below") {
- sp.setOriantation(sp.BELOW);
+ sp.setOrientation(sp.BELOW);
} else {
- sp.setOriantation(sp.BESIDE);
+ sp.setOrientation(sp.BESIDE);
}
sp.setSplits(2);
View
2 lib/ace/virtual_renderer.js
@@ -666,7 +666,7 @@ var VirtualRenderer = function(container, theme) {
};
this.getScrollLeft = function() {
- return this.session.getScrollTop();
+ return this.session.getScrollLeft();
};
this.getScrollTopRow = function() {

0 comments on commit dcf4ae0

Please sign in to comment.