Skip to content

Commit

Permalink
Built site for babynamesIL: 0.0.1@
Browse files Browse the repository at this point in the history
  • Loading branch information
aviezerl committed Aug 15, 2023
1 parent 0942a64 commit 69ef0bf
Show file tree
Hide file tree
Showing 27 changed files with 247 additions and 190 deletions.
8 changes: 4 additions & 4 deletions 404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

151 changes: 98 additions & 53 deletions articles/babynamesIL.html

Large diffs are not rendered by default.

Binary file modified articles/babynamesIL_files/figure-html/unnamed-chunk-14-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified articles/babynamesIL_files/figure-html/unnamed-chunk-2-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified articles/babynamesIL_files/figure-html/unnamed-chunk-3-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -287,29 +287,27 @@
document.body.style.height = "100%";
document.documentElement.style.width = "100%";
document.documentElement.style.height = "100%";
if (cel) {
cel.style.position = "absolute";
var pad = unpackPadding(sizing.padding);
cel.style.top = pad.top + "px";
cel.style.right = pad.right + "px";
cel.style.bottom = pad.bottom + "px";
cel.style.left = pad.left + "px";
el.style.width = "100%";
el.style.height = "100%";
}
cel.style.position = "absolute";
var pad = unpackPadding(sizing.padding);
cel.style.top = pad.top + "px";
cel.style.right = pad.right + "px";
cel.style.bottom = pad.bottom + "px";
cel.style.left = pad.left + "px";
el.style.width = "100%";
el.style.height = "100%";

return {
getWidth: function() { return cel.offsetWidth; },
getHeight: function() { return cel.offsetHeight; }
getWidth: function() { return cel.getBoundingClientRect().width; },
getHeight: function() { return cel.getBoundingClientRect().height; }
};

} else {
el.style.width = px(sizing.width);
el.style.height = px(sizing.height);

return {
getWidth: function() { return el.offsetWidth; },
getHeight: function() { return el.offsetHeight; }
getWidth: function() { return cel.getBoundingClientRect().width; },
getHeight: function() { return cel.getBoundingClientRect().height; }
};
}
}
Expand Down Expand Up @@ -533,8 +531,8 @@

elementData(el, "initialized", true);
if (bindingDef.initialize) {
var result = bindingDef.initialize(el, el.offsetWidth,
el.offsetHeight);
var rect = el.getBoundingClientRect();
var result = bindingDef.initialize(el, rect.width, rect.height);
elementData(el, "init_result", result);
}
}
Expand Down Expand Up @@ -576,29 +574,30 @@
forEach(matches, function(el) {
var sizeObj = initSizing(el, binding);

var getSize = function(el) {
if (sizeObj) {
return {w: sizeObj.getWidth(), h: sizeObj.getHeight()}
} else {
var rect = el.getBoundingClientRect();
return {w: rect.width, h: rect.height}
}
};

if (hasClass(el, "html-widget-static-bound"))
return;
el.className = el.className + " html-widget-static-bound";

var initResult;
if (binding.initialize) {
initResult = binding.initialize(el,
sizeObj ? sizeObj.getWidth() : el.offsetWidth,
sizeObj ? sizeObj.getHeight() : el.offsetHeight
);
var size = getSize(el);
initResult = binding.initialize(el, size.w, size.h);
elementData(el, "init_result", initResult);
}

if (binding.resize) {
var lastSize = {
w: sizeObj ? sizeObj.getWidth() : el.offsetWidth,
h: sizeObj ? sizeObj.getHeight() : el.offsetHeight
};
var lastSize = getSize(el);
var resizeHandler = function(e) {
var size = {
w: sizeObj ? sizeObj.getWidth() : el.offsetWidth,
h: sizeObj ? sizeObj.getHeight() : el.offsetHeight
};
var size = getSize(el);
if (size.w === 0 && size.h === 0)
return;
if (size.w === lastSize.w && size.h === lastSize.h)
Expand Down Expand Up @@ -900,4 +899,3 @@
return result;
}
})();

Original file line number Diff line number Diff line change
Expand Up @@ -521,15 +521,17 @@ HTMLWidgets.widget({
// communication between the widget and direct manipulation events
if (x.selectize) {
var selectizeID = Object.keys(x.selectize)[i];
var items = x.selectize[selectizeID].items;
var options = x.selectize[selectizeID];
var first = [{value: "", label: "(All)"}];
var opts = {
options: first.concat(items),
searchField: "label",
valueField: "value",
labelField: "label",
maxItems: 50
};
var opts = $.extend({
options: first.concat(options.items),
searchField: "label",
valueField: "value",
labelField: "label",
maxItems: 50
},
options
);
var select = $("#" + selectizeID).find("select")[0];
var selectize = $(select).selectize(opts)[0].selectize;
// NOTE: this callback is triggered when *directly* altering
Expand Down Expand Up @@ -616,9 +618,9 @@ TraceManager.prototype.updateFilter = function(group, keys) {
traces.push(trace);
}
}
this.gd.data = traces;
}

this.gd.data = traces;
Plotly.redraw(this.gd);

// NOTE: we purposely do _not_ restore selection(s), since on filter,
Expand Down
69 changes: 69 additions & 0 deletions articles/babynamesIL_files/plotly-main-2.11.1/plotly-latest.min.js

Large diffs are not rendered by default.

62 changes: 0 additions & 62 deletions articles/babynamesIL_files/plotly-main-2.5.1/plotly-latest.min.js

This file was deleted.

4 changes: 2 additions & 2 deletions articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 69ef0bf

Please sign in to comment.