nil.js 581 B

123456789101112131415161718192021222324
  1. var RTL$ = {
  2. extend: function extend(methods){
  3. function Type(){
  4. for(var m in methods)
  5. this[m] = methods[m];
  6. }
  7. Type.prototype = this.prototype;
  8. var result = methods.init;
  9. result.prototype = new Type(); // inherit this.prototype
  10. result.prototype.constructor = result; // to see constructor name in diagnostic
  11. result.extend = extend;
  12. return result;
  13. }
  14. };
  15. var m = function (){
  16. var anonymous$1 = RTL$.extend({
  17. init: function anonymous$1(){
  18. }
  19. });
  20. var p = null;
  21. p = null;
  22. }();