Replace tabs indentation with spaces indentation

Some files are obviously external libraries, I didn't touch them
This commit is contained in:
Luc Didry 2013-12-05 08:41:29 +01:00
parent 03ff5563f4
commit 3d8452b143
35 changed files with 511 additions and 510 deletions

View file

@ -145,5 +145,6 @@
} }
} }
}*/ }*/
] } ]
}
} }

View file

@ -675,7 +675,7 @@ exports.textLinesMutator = function (lines) {
/*if (inSplice && (! isCurLineInSplice()) && (curSplice[0] + curSplice[1] < lines.length)) { /*if (inSplice && (! isCurLineInSplice()) && (curSplice[0] + curSplice[1] < lines.length)) {
print("BLAH"); print("BLAH");
putCurLineInSplice(); putCurLineInSplice();
}*/ }*/
// tests case foo in remove(), which isn't otherwise covered in current impl // tests case foo in remove(), which isn't otherwise covered in current impl
} }
//debugPrint("skip"); //debugPrint("skip");

View file

@ -4187,7 +4187,7 @@ function Ace2Inner(){
selection.startPoint.index+" / "+ selection.startPoint.index+" / "+
selection.endPoint.node.uniqueId()+","+ selection.endPoint.node.uniqueId()+","+
selection.endPoint.index); selection.endPoint.index);
}*/ }*/
} }
return selection; return selection;
} }

View file

@ -99,17 +99,17 @@ window.html10n = (function(window, document, undefined) {
var MicroEvent = function(){} var MicroEvent = function(){}
MicroEvent.prototype = { MicroEvent.prototype = {
bind : function(event, fct){ bind: function(event, fct){
this._events = this._events || {}; this._events = this._events || {};
this._events[event] = this._events[event] || []; this._events[event] = this._events[event] || [];
this._events[event].push(fct); this._events[event].push(fct);
}, },
unbind : function(event, fct){ unbind: function(event, fct){
this._events = this._events || {}; this._events = this._events || {};
if( event in this._events === false ) return; if( event in this._events === false ) return;
this._events[event].splice(this._events[event].indexOf(fct), 1); this._events[event].splice(this._events[event].indexOf(fct), 1);
}, },
trigger : function(event /* , args... */){ trigger: function(event /* , args... */){
this._events = this._events || {}; this._events = this._events || {};
if( event in this._events === false ) return; if( event in this._events === false ) return;
for(var i = 0; i < this._events[event].length; i++){ for(var i = 0; i < this._events[event].length; i++){

View file

@ -391,7 +391,7 @@ $.fn.sendkeys = function (x, opts){
}).bind('keyup.sendkeys', function(evt){ }).bind('keyup.sendkeys', function(evt){
// restore the selection if we got here with a tab (a click should select what was clicked on) // restore the selection if we got here with a tab (a click should select what was clicked on)
if (evt.which == 9){ if (evt.which == 9){
// there's a flash of selection when we restore the focus, but I don't know how to avoid that. // there's a flash of selection when we restore the focus, but I don't know how to avoid that
$.data(this, 'sendkeys.selection').select(); $.data(this, 'sendkeys.selection').select();
}else{ }else{
$.data(this, 'sendkeys.selection').bounds('selection'); $.data(this, 'sendkeys.selection').bounds('selection');