Merge master, update content
This commit is contained in:
commit
c2caee8024
79 changed files with 3178 additions and 767 deletions
|
|
@ -73,7 +73,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];
|
||||
|
|
@ -304,27 +304,27 @@ var Split = function(container, theme, splits) {
|
|||
};
|
||||
|
||||
/** internal
|
||||
* Split.getOriantation() -> Number
|
||||
* Split.getOrientation() -> Number
|
||||
*
|
||||
* Returns the orientation.
|
||||
*
|
||||
**/
|
||||
this.getOriantation = function() {
|
||||
return this.$oriantation;
|
||||
this.getOrientation = function() {
|
||||
return this.$orientation;
|
||||
};
|
||||
|
||||
/** internal
|
||||
* Split.setOriantation(oriantation) -> Void
|
||||
* Split.setOrientation(oriantation) -> Void
|
||||
* - oriantation (Number):
|
||||
*
|
||||
* Sets the 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();
|
||||
};
|
||||
|
||||
|
|
@ -339,7 +339,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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue