Sha256: 2006d33e49e2e30c06766545b13c5c503951417d9e025b4480f74d5405a4e968

Contents?: true

Size: 736 Bytes

Versions: 185

Compression:

Stored size: 736 Bytes

Contents

HAL.Views.Browser = Backbone.View.extend({
  initialize: function(opts) {
    var self = this;
    this.vent = opts.vent;
    this.entryPoint = opts.entryPoint;
    this.explorerView = new HAL.Views.Explorer({ vent: this.vent });
    this.inspectorView = new HAL.Views.Inspector({ vent: this.vent });
  },

  className: 'hal-browser row-fluid',

  render: function() {
    this.$el.empty();

    this.inspectorView.render();
    this.explorerView.render();

    this.$el.html(this.explorerView.el);
    this.$el.append(this.inspectorView.el);

    var entryPoint = this.entryPoint;

    $("#entryPointLink").click(function(event) {
      event.preventDefault();
      window.location.hash = entryPoint;
    });
    return this;
  }
});

Version data entries

185 entries across 185 versions & 1 rubygems

Version Path
pact_broker-2.93.2 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.93.1 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.93.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.92.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.91.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.90.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.89.1 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.89.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.88.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.87.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.86.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.85.1 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.85.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.84.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.83.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.82.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.81.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.80.0 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.79.1 vendor/hal-browser/js/hal/views/browser.js
pact_broker-2.79.0 vendor/hal-browser/js/hal/views/browser.js