コード例 #1
0
  setup: function() {

    EmberDebug.Port = EmberDebug.Port.extend({
      init: function() {},
      send: function() {}
    });

    App.reset();
    EmberDebug.start();
    port = EmberDebug.port;
  }
コード例 #2
0
  setup: function() {

    EmberDebug.Port = EmberDebug.Port.extend({
      init: function() {},
      send: function(n, m) {
        name = n;
        message = m;
      }
    });

    App.reset();
    EmberDebug.start();
    port = EmberDebug.port;
    objectInspector = EmberDebug.get('objectInspector');
    name = null;
    message = null;
  }
コード例 #3
0
  setup: function() {

    EmberDebug.Port = EmberDebug.Port.extend({
      init: function() {},
      send: function(n, m) {
        name = n;
        message = m;
      }
    });

    App.reset();
    Ember.run(EmberDebug, 'start');
    EmberDebug.get('promiseDebug').reopen({
      delay: 5
    });
    port = EmberDebug.port;
  },