lib/gollum/public/gollum/livepreview/js/ace/lib/ace/split.js in gollum-3.1.2 vs lib/gollum/public/gollum/livepreview/js/ace/lib/ace/split.js in gollum-3.1.3
- old
+ new
@@ -222,11 +222,11 @@
s.setUndoManager(undoManagerProxy);
}
// Overwrite the default $informUndoManager function such that new delas
// aren't added to the undo manager from the new and the old session.
- s.$informUndoManager = lang.deferredCall(function() { s.$deltas = []; });
+ s.$informUndoManager = lang.delayedCall(function() { s.$deltas = []; });
// Copy over 'settings' from the session.
s.setTabSize(session.getTabSize());
s.setUseSoftTabs(session.getUseSoftTabs());
s.setOverwrite(session.getOverwrite());
@@ -275,20 +275,20 @@
};
/**
*
* Returns the orientation.
- * @returns Number
+ * @returns {Number}
**/
this.getOrientation = function() {
return this.$orientation;
};
/**
*
+ * Sets the orientation.
* @param {Number} orientation The new orientation value
*
- * Sets the orientation.
*
**/
this.setOrientation = function(orientation) {
if (this.$orientation == orientation) {
return;