mirror of https://gitee.com/bigwinds/arangodb
26 lines
388 B
JavaScript
26 lines
388 B
JavaScript
/*var extend = function(cls) {
|
|
function foo(){
|
|
cls.apply(this, arguments);
|
|
};
|
|
|
|
foo.prototype = Object.create(cls.prototype);
|
|
return foo;
|
|
};
|
|
|
|
window.EJS = extend(EJS);
|
|
var old = EJS.prototype.constructor;
|
|
console.log(123123);
|
|
|
|
EJS.prototype.constructor = function () {
|
|
console.log(444);
|
|
console.log(arguments);
|
|
return old();
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
//EJS = function () {};
|
|
//
|
|
|