Skip to content
Permalink
Browse files

Merge branch 'alpha' of github.com:smurp/huviz into alpha

  • Loading branch information...
smurp committed Sep 10, 2019
2 parents ae38943 + ba8e4f3 commit de65705b6e033dd7d1f49ef498760f71f347f335
Showing with 10 additions and 1 deletion.
  1. +5 −0 lib/huviz.js
  2. +5 −1 src/huviz.coffee
@@ -10534,6 +10534,10 @@ OnceRunner.prototype.makeWrapper = function(callback) {
if (this.tabsJQElem && this.tabsJQElem.length > 0) {
tabs_width = this.tabsJQElem.width();
}
console.log(this.container);
console.log(this.container.clientWidth);
console.log("w_width: " + w_width + " w. pad of " + pad);
console.log("tabs_width: " + tabs_width);
return this.width = w_width - tabs_width;
};

@@ -13584,6 +13588,7 @@ OnceRunner.prototype.makeWrapper = function(callback) {
this.oldToUniqueTabSel = {};
this.git_commit_hash = window.HUVIZ_GIT_COMMIT_HASH;
this.args = this.calculate_args(incoming_args);
console.log(this.args);
this.ensureTopElem();
if (this.args.create_tabs_adjacent_to_selector) {
this.create_tabs();
@@ -4834,8 +4834,11 @@ class Huviz
tabs_width = 0
if @tabsJQElem and @tabsJQElem.length > 0
tabs_width = @tabsJQElem.width()
console.log @container
console.log @container.clientWidth
console.log "w_width: #{w_width} w. pad of #{pad}"
console.log "tabs_width: #{tabs_width}"
@width = w_width - tabs_width

# Should be refactored to be get_container_height
get_container_height: (pad) ->
pad = pad or hpad
@@ -7313,6 +7316,7 @@ class Huviz
# @pfm_dashboard()
@git_commit_hash = window.HUVIZ_GIT_COMMIT_HASH
@args = @calculate_args(incoming_args)
console.log @args
@ensureTopElem()
if @args.create_tabs_adjacent_to_selector
@create_tabs()

0 comments on commit de65705

Please sign in to comment.
You can’t perform that action at this time.