src/opal.js
function create_dummy_iclass(module) {
    var iclass = {},
        proto = module.$$prototype;

    if (proto.hasOwnProperty('$$dummy')) {
      proto = proto.$$define_methods_on;
    }

    var props = Object.getOwnPropertyNames(proto),
        length = props.length, i;

    for (i = 0; i < length; i++) {
      var prop = props[i];
      $defineProperty(iclass, prop, proto[prop]);
    }

    $defineProperty(iclass, '$$iclass', true);
    $defineProperty(iclass, '$$module', module);

    return iclass;
  }
function create_dummy_iclass(module) {
    var iclass = {},
        proto = module.$$prototype;

    if (proto.hasOwnProperty('$$dummy')) {
      proto = proto.$$define_methods_on;
    }

    var props = Object.getOwnPropertyNames(proto),
        length = props.length, i;

    for (i = 0; i < length; i++) {
      var prop = props[i];
      $defineProperty(iclass, prop, proto[prop]);
    }

    $defineProperty(iclass, '$$iclass', true);
    $defineProperty(iclass, '$$module', module);

    return iclass;
  }
function create_dummy_iclass ( module ) { var iclass = { } , proto = module . $$prototype ; if ( proto . hasOwnProperty ( '$$dummy' ) ) { proto = proto . $$define_methods_on ; } var props = Object . getOwnPropertyNames ( proto ) , length = props . length , i ; for ( i = 0 ; i < length ; i ++ ) { var prop = props [ i ] ; $defineProperty ( iclass , prop , proto [ prop ] ) ; } $defineProperty ( iclass , '$$iclass' , true ) ; $defineProperty ( iclass , '$$module' , module ) ; return iclass ; }
Dummy iclass doesn't receive updates when the module gets a new method.
Dummy iclass doesn t receive updates when the module gets a new method .