var fn = function(){
$('div').fadeTo('fast', 1);
//ИМХО лучше так, $(this).fadeTo('fast', 1);
}
$('div').mouseenter(fn);
> var mk=require("./Make.js");
undefined
> var elem = new mk.Make();
undefined
> console.log(typeof elem.aaa);
function
undefined
> elem.aaa();
undefined
.............. ПЕРЕОПРЕДЕЛИЛ: this.aaa = function () { return "OK"; }
> var mk=require("./Make.js");
undefined
> var elem = new mk.Make();
undefined
> console.log(typeof elem.aaa);
function
undefined
> elem.aaa();
'OK'