-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
136 changed files
with
37,706 additions
and
4 deletions.
There are no files selected for viewing
1,064 changes: 1,064 additions & 0 deletions
1,064
docs/exercises/13-Generalized_Additive_Models.html
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/bootstrap.bundle.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/bootstrap.bundle.min.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/bootstrap.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/font.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: url(fonts/KFOmCnqEu92Fr1Me5g.woff) format('woff'); | ||
} | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 500; | ||
font-display: swap; | ||
src: url(fonts/KFOlCnqEu92Fr1MmEU9vAA.woff) format('woff'); | ||
} | ||
@font-face { | ||
font-family: 'Roboto'; | ||
font-style: normal; | ||
font-weight: 700; | ||
font-display: swap; | ||
src: url(fonts/KFOlCnqEu92Fr1MmWUlvAA.woff) format('woff'); | ||
} |
Binary file added
BIN
+25.5 KB
...alized_Additive_Models_files/bootstrap/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVs9pbCIPrc.woff
Binary file not shown.
Binary file added
BIN
+25.2 KB
...alized_Additive_Models_files/bootstrap/fonts/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrc.woff
Binary file not shown.
Binary file added
BIN
+130 KB
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/4iCs6KVjbNBYlgo6ew.woff
Binary file not shown.
Binary file added
BIN
+38.2 KB
.../exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/4iCs6KVjbNBYlgoKfw7w.woff
Binary file not shown.
Binary file added
BIN
+114 KB
...xercises/13-Generalized_Additive_Models_files/bootstrap/fonts/4iCv6KVjbNBYlgoCxCvTtA.woff
Binary file not shown.
Binary file added
BIN
+32.6 KB
...rcises/13-Generalized_Additive_Models_files/bootstrap/fonts/4iCv6KVjbNBYlgoCxCvjsGyL.woff
Binary file not shown.
Binary file added
BIN
+18.9 KB
...eneralized_Additive_Models_files/bootstrap/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDQ.woff
Binary file not shown.
Binary file added
BIN
+38.6 KB
...3-Generalized_Additive_Models_files/bootstrap/fonts/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPa7j.woff
Binary file not shown.
Binary file added
BIN
+79.1 KB
.../13-Generalized_Additive_Models_files/bootstrap/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3aPA.woff
Binary file not shown.
Binary file added
BIN
+19.7 KB
...3-Generalized_Additive_Models_files/bootstrap/fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7j.woff
Binary file not shown.
Binary file added
BIN
+78.7 KB
...Generalized_Additive_Models_files/bootstrap/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rAkw.woff
Binary file not shown.
Binary file added
BIN
+78.2 KB
...Generalized_Additive_Models_files/bootstrap/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vAkw.woff
Binary file not shown.
Binary file added
BIN
+19.4 KB
...neralized_Additive_Models_files/bootstrap/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdo.woff
Binary file not shown.
Binary file added
BIN
+78.7 KB
...Generalized_Additive_Models_files/bootstrap/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zAkw.woff
Binary file not shown.
Binary file added
BIN
+19.7 KB
...neralized_Additive_Models_files/bootstrap/fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdo.woff
Binary file not shown.
Binary file added
BIN
+16.3 KB
.../13-Generalized_Additive_Models_files/bootstrap/fonts/CSR54z1Qlv-GDxkbKVQ_dFsvWNRevw.woff
Binary file not shown.
Binary file added
BIN
+29 KB
...ses/13-Generalized_Additive_Models_files/bootstrap/fonts/CSR54z1Qlv-GDxkbKVQ_dFsvaNA.woff
Binary file not shown.
Binary file added
BIN
+73.4 KB
...ercises/13-Generalized_Additive_Models_files/bootstrap/fonts/CSR64z1Qlv-GDxkbKVQ_TOQ.woff
Binary file not shown.
Binary file added
BIN
+16 KB
...ises/13-Generalized_Additive_Models_files/bootstrap/fonts/CSR64z1Qlv-GDxkbKVQ_fOAKSw.woff
Binary file not shown.
Binary file added
BIN
+66.5 KB
...ses/13-Generalized_Additive_Models_files/bootstrap/fonts/JTURjIg1_i6t8kCHKm45_ZpC7g0.woff
Binary file not shown.
Binary file added
BIN
+66.6 KB
...ses/13-Generalized_Additive_Models_files/bootstrap/fonts/JTURjIg1_i6t8kCHKm45_dJE7g0.woff
Binary file not shown.
Binary file added
BIN
+66.7 KB
...ercises/13-Generalized_Additive_Models_files/bootstrap/fonts/JTUSjIg1_i6t8kCHKm45xW0.woff
Binary file not shown.
Binary file added
BIN
+20.1 KB
...rcises/13-Generalized_Additive_Models_files/bootstrap/fonts/KFOlCnqEu92Fr1MmEU9fBBc-.woff
Binary file not shown.
Binary file added
BIN
+64 KB
...xercises/13-Generalized_Additive_Models_files/bootstrap/fonts/KFOlCnqEu92Fr1MmEU9vAA.woff
Binary file not shown.
Binary file added
BIN
+19.9 KB
...rcises/13-Generalized_Additive_Models_files/bootstrap/fonts/KFOlCnqEu92Fr1MmSU5fBBc-.woff
Binary file not shown.
Binary file added
BIN
+63.4 KB
...xercises/13-Generalized_Additive_Models_files/bootstrap/fonts/KFOlCnqEu92Fr1MmSU5vAA.woff
Binary file not shown.
Binary file added
BIN
+19.9 KB
...rcises/13-Generalized_Additive_Models_files/bootstrap/fonts/KFOlCnqEu92Fr1MmWUlfBBc-.woff
Binary file not shown.
Binary file added
BIN
+63.8 KB
...xercises/13-Generalized_Additive_Models_files/bootstrap/fonts/KFOlCnqEu92Fr1MmWUlvAA.woff
Binary file not shown.
Binary file added
BIN
+63.7 KB
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/KFOmCnqEu92Fr1Me5g.woff
Binary file not shown.
Binary file added
BIN
+19.9 KB
.../exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/KFOmCnqEu92Fr1Mu4mxM.woff
Binary file not shown.
Binary file added
BIN
+87.6 KB
...es/13-Generalized_Additive_Models_files/bootstrap/fonts/QGYpz_kZZAGCONcK2A4bGOj8mNhL.woff
Binary file not shown.
Binary file added
BIN
+29.1 KB
.../exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/S6u8w4BMUTPHjxsAXC-s.woff
Binary file not shown.
Binary file added
BIN
+34.6 KB
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/S6u8w4BMUTPHjxswWA.woff
Binary file not shown.
Binary file added
BIN
+27.4 KB
...xercises/13-Generalized_Additive_Models_files/bootstrap/fonts/S6u9w4BMUTPHh6UVSwiPHw.woff
Binary file not shown.
Binary file added
BIN
+32.6 KB
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/S6u9w4BMUTPHh6UVeww.woff
Binary file not shown.
Binary file added
BIN
+29.3 KB
...xercises/13-Generalized_Additive_Models_files/bootstrap/fonts/S6u9w4BMUTPHh7USSwiPHw.woff
Binary file not shown.
Binary file added
BIN
+34.3 KB
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/S6u9w4BMUTPHh7USeww.woff
Binary file not shown.
Binary file added
BIN
+28 KB
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/S6uyw4BMUTPHjx4wWA.woff
Binary file not shown.
Binary file added
BIN
+33.2 KB
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/S6uyw4BMUTPHvxo.woff
Binary file not shown.
Binary file added
BIN
+129 KB
...ive_Models_files/bootstrap/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuFuYMZs.woff
Binary file not shown.
Binary file added
BIN
+128 KB
...ive_Models_files/bootstrap/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuI6fMZs.woff
Binary file not shown.
Binary file added
BIN
+119 KB
...ive_Models_files/bootstrap/fonts/UcCO3FwrK3iLTeHuS_fvQtMwCp50KnMw2boKoduKmMEVuLyfMZs.woff
Binary file not shown.
Binary file added
BIN
+62.5 KB
docs/exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/XRXV3I6Li01BKof4MQ.woff
Binary file not shown.
Binary file added
BIN
+63 KB
...xercises/13-Generalized_Additive_Models_files/bootstrap/fonts/XRXW3I6Li01BKofA6sKkZQ.woff
Binary file not shown.
Binary file added
BIN
+62.3 KB
...xercises/13-Generalized_Additive_Models_files/bootstrap/fonts/XRXW3I6Li01BKofAjsOkZQ.woff
Binary file not shown.
Binary file added
BIN
+19.7 KB
...eralized_Additive_Models_files/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.eot
Binary file not shown.
288 changes: 288 additions & 0 deletions
288
...dditive_Models_files/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+44.3 KB
...eralized_Additive_Models_files/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.ttf
Binary file not shown.
Binary file added
BIN
+22.9 KB
...ralized_Additive_Models_files/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.woff
Binary file not shown.
Binary file added
BIN
+17.6 KB
...alized_Additive_Models_files/bootstrap/fonts/bootstrap/glyphicons-halflings-regular.woff2
Binary file not shown.
Binary file added
BIN
+21.3 KB
...files/bootstrap/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkWVAexg.woff
Binary file not shown.
Binary file added
BIN
+72.9 KB
...ls_files/bootstrap/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk5hkaVQ.woff
Binary file not shown.
Binary file added
BIN
+21.3 KB
...files/bootstrap/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkWVAexg.woff
Binary file not shown.
Binary file added
BIN
+72.8 KB
...ls_files/bootstrap/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0Rk8ZkaVQ.woff
Binary file not shown.
Binary file added
BIN
+20.7 KB
...files/bootstrap/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjWVAexg.woff
Binary file not shown.
Binary file added
BIN
+70 KB
...ls_files/bootstrap/fonts/memQYaGs126MiZpBA-UFUIcVXSCEkx2cmqvXlWq8tWZ0Pw86hd0RkyFjaVQ.woff
Binary file not shown.
Binary file added
BIN
+19.6 KB
...ls_files/bootstrap/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1x4gaVQ.woff
Binary file not shown.
Binary file added
BIN
+67 KB
...odels_files/bootstrap/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsg-1y4k.woff
Binary file not shown.
Binary file added
BIN
+20.2 KB
...ls_files/bootstrap/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0B4gaVQ.woff
Binary file not shown.
Binary file added
BIN
+68.8 KB
...odels_files/bootstrap/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsiH0C4k.woff
Binary file not shown.
Binary file added
BIN
+20.2 KB
...ls_files/bootstrap/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVQ.woff
Binary file not shown.
Binary file added
BIN
+69.1 KB
...odels_files/bootstrap/fonts/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0C4k.woff
Binary file not shown.
Binary file added
BIN
+56.3 KB
...es/13-Generalized_Additive_Models_files/bootstrap/fonts/pe03MImSLYBIv1o4X1M8cc9iB_5p.woff
Binary file not shown.
Binary file added
BIN
+56 KB
...rcises/13-Generalized_Additive_Models_files/bootstrap/fonts/pe0qMImSLYBIv1o4X1M8cfe5.woff
Binary file not shown.
Binary file added
BIN
+30.9 KB
.../exercises/13-Generalized_Additive_Models_files/bootstrap/fonts/q5uGsou0JOdh94bfvQlr.woff
Binary file not shown.
48 changes: 48 additions & 0 deletions
48
docs/exercises/13-Generalized_Additive_Models_files/bs3compat/bs3compat.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Inform the world that we have the ability to use BS3 nav/navbar markup in BS4 | ||
window.BS3_COMPAT = true; | ||
|
||
// This logic needs to execute after both the BS4+ (new) as well as BS3 (legacy) | ||
// jQuery plugins have been registered. For BS5, plugin registration happens | ||
// after DOM content is loaded, which is why we do the same here. | ||
// https://github.com/twbs/bootstrap/blob/08139c22/js/dist/tab.js#L87 | ||
$(function() { | ||
|
||
// The legacy plugin needs to be registered after the new one | ||
if (!$.fn.tab.Constructor.VERSION.match(/^3\./)) { | ||
(console.warn || console.error || console.log)("bs3compat.js couldn't find bs3 tab impl; bs3 tabs will not be properly supported"); | ||
return; | ||
} | ||
var legacyTabPlugin = $.fn.tab.noConflict(); | ||
|
||
if (!$.fn.tab || !$.fn.tab.Constructor || !$.fn.tab.noConflict) { | ||
(console.warn || console.error || console.log)("bs3compat.js couldn't find a jQuery tab impl; bs3 tabs will not be properly supported"); | ||
} | ||
var newTabPlugin = $.fn.tab.noConflict(); | ||
|
||
// Re-define the tab click event | ||
// https://github.com/twbs/bootstrap/blob/08139c2/js/src/tab.js#L33 | ||
var EVENT_KEY = "click.bs.tab.data-api"; | ||
$(document).off(EVENT_KEY); | ||
|
||
var SELECTOR = '[data-toggle="tab"], [data-toggle="pill"], [data-bs-toggle="tab"], [data-bs-toggle="pill"]'; | ||
$(document).on(EVENT_KEY, SELECTOR, function(event) { | ||
event.preventDefault(); | ||
$(this).tab("show"); | ||
}); | ||
|
||
function TabPlugin(config) { | ||
// Legacy (bs3) tabs: li.active > a | ||
// New (bs4+) tabs: li.nav-item > a.active.nav-link | ||
var legacy = $(this).closest(".nav").find("li:not(.dropdown).active > a").length > 0; | ||
var plugin = legacy ? legacyTabPlugin : newTabPlugin; | ||
plugin.call($(this), config); | ||
} | ||
|
||
var noconflict = $.fn.tab; | ||
$.fn.tab = TabPlugin; | ||
$.fn.tab.Constructor = newTabPlugin.Constructor; | ||
$.fn.tab.noConflict = function() { | ||
$.fn.tab = noconflict; | ||
return TabPlugin; | ||
}; | ||
}); |
157 changes: 157 additions & 0 deletions
157
docs/exercises/13-Generalized_Additive_Models_files/bs3compat/tabs.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
/* ======================================================================== | ||
* Bootstrap: tab.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#tabs | ||
* ======================================================================== | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||
* ======================================================================== */ | ||
|
||
// Register tab plugin after DOM content loaded in order to | ||
// override BS5's plugin | ||
// https://github.com/twbs/bootstrap/blob/08139c22/js/dist/tab.js#L87 | ||
$(function() { | ||
'use strict'; | ||
|
||
// TAB CLASS DEFINITION | ||
// ==================== | ||
|
||
var Tab = function (element) { | ||
// jscs:disable requireDollarBeforejQueryAssignment | ||
this.element = $(element) | ||
// jscs:enable requireDollarBeforejQueryAssignment | ||
} | ||
|
||
Tab.VERSION = '3.4.1' | ||
|
||
Tab.TRANSITION_DURATION = 150 | ||
|
||
Tab.prototype.show = function () { | ||
var $this = this.element | ||
var $ul = $this.closest('ul:not(.dropdown-menu)') | ||
var selector = $this.data('target') | ||
|
||
if (!selector) { | ||
selector = $this.attr('href') | ||
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 | ||
} | ||
|
||
if ($this.parent('li').hasClass('active')) return | ||
|
||
var $previous = $ul.find('.active:last a') | ||
var hideEvent = $.Event('hide.bs.tab', { | ||
relatedTarget: $this[0] | ||
}) | ||
var showEvent = $.Event('show.bs.tab', { | ||
relatedTarget: $previous[0] | ||
}) | ||
|
||
$previous.trigger(hideEvent) | ||
$this.trigger(showEvent) | ||
|
||
if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return | ||
|
||
var $target = $(document).find(selector) | ||
|
||
this.activate($this.closest('li'), $ul) | ||
this.activate($target, $target.parent(), function () { | ||
$previous.trigger({ | ||
type: 'hidden.bs.tab', | ||
relatedTarget: $this[0] | ||
}) | ||
$this.trigger({ | ||
type: 'shown.bs.tab', | ||
relatedTarget: $previous[0] | ||
}) | ||
}) | ||
} | ||
|
||
Tab.prototype.activate = function (element, container, callback) { | ||
var $active = container.find('> .active') | ||
var transition = callback | ||
&& $.support.transition | ||
&& ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length) | ||
|
||
function next() { | ||
$active | ||
.removeClass('active') | ||
.find('> .dropdown-menu > .active') | ||
.removeClass('active') | ||
.end() | ||
.find('[data-toggle="tab"]') | ||
.attr('aria-expanded', false) | ||
|
||
element | ||
.addClass('active') | ||
.find('[data-toggle="tab"]') | ||
.attr('aria-expanded', true) | ||
|
||
if (transition) { | ||
element[0].offsetWidth // reflow for transition | ||
element.addClass('in') | ||
} else { | ||
element.removeClass('fade') | ||
} | ||
|
||
if (element.parent('.dropdown-menu').length) { | ||
element | ||
.closest('li.dropdown') | ||
.addClass('active') | ||
.end() | ||
.find('[data-toggle="tab"]') | ||
.attr('aria-expanded', true) | ||
} | ||
|
||
callback && callback() | ||
} | ||
|
||
$active.length && transition ? | ||
$active | ||
.one('bsTransitionEnd', next) | ||
.emulateTransitionEnd(Tab.TRANSITION_DURATION) : | ||
next() | ||
|
||
$active.removeClass('in') | ||
} | ||
|
||
|
||
// TAB PLUGIN DEFINITION | ||
// ===================== | ||
|
||
function Plugin(option) { | ||
return this.each(function () { | ||
var $this = $(this) | ||
var data = $this.data('bs.tab') | ||
|
||
if (!data) $this.data('bs.tab', (data = new Tab(this))) | ||
if (typeof option == 'string') data[option]() | ||
}) | ||
} | ||
|
||
var old = $.fn.tab | ||
|
||
$.fn.tab = Plugin | ||
$.fn.tab.Constructor = Tab | ||
|
||
|
||
// TAB NO CONFLICT | ||
// =============== | ||
|
||
$.fn.tab.noConflict = function () { | ||
$.fn.tab = old | ||
return this | ||
} | ||
|
||
|
||
// TAB DATA-API | ||
// ============ | ||
|
||
var clickHandler = function (e) { | ||
e.preventDefault() | ||
Plugin.call($(this), 'show') | ||
} | ||
|
||
$(document) | ||
.on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler) | ||
.on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler) | ||
|
||
}); |
59 changes: 59 additions & 0 deletions
59
docs/exercises/13-Generalized_Additive_Models_files/bs3compat/transition.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* ======================================================================== | ||
* Bootstrap: transition.js v3.4.1 | ||
* https://getbootstrap.com/docs/3.4/javascript/#transitions | ||
* ======================================================================== | ||
* Copyright 2011-2019 Twitter, Inc. | ||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/v3-dev/LICENSE) | ||
* ======================================================================== */ | ||
|
||
|
||
+function ($) { | ||
'use strict'; | ||
|
||
// CSS TRANSITION SUPPORT (Shoutout: https://modernizr.com/) | ||
// ============================================================ | ||
|
||
function transitionEnd() { | ||
var el = document.createElement('bootstrap') | ||
|
||
var transEndEventNames = { | ||
WebkitTransition : 'webkitTransitionEnd', | ||
MozTransition : 'transitionend', | ||
OTransition : 'oTransitionEnd otransitionend', | ||
transition : 'transitionend' | ||
} | ||
|
||
for (var name in transEndEventNames) { | ||
if (el.style[name] !== undefined) { | ||
return { end: transEndEventNames[name] } | ||
} | ||
} | ||
|
||
return false // explicit for ie8 ( ._.) | ||
} | ||
|
||
// https://blog.alexmaccaw.com/css-transitions | ||
$.fn.emulateTransitionEnd = function (duration) { | ||
var called = false | ||
var $el = this | ||
$(this).one('bsTransitionEnd', function () { called = true }) | ||
var callback = function () { if (!called) $($el).trigger($.support.transition.end) } | ||
setTimeout(callback, duration) | ||
return this | ||
} | ||
|
||
$(function () { | ||
$.support.transition = transitionEnd() | ||
|
||
if (!$.support.transition) return | ||
|
||
$.event.special.bsTransitionEnd = { | ||
bindType: $.support.transition.end, | ||
delegateType: $.support.transition.end, | ||
handle: function (e) { | ||
if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) | ||
} | ||
} | ||
}) | ||
|
||
}(jQuery); |
7 changes: 7 additions & 0 deletions
7
docs/exercises/13-Generalized_Additive_Models_files/clipboard/clipboard.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+784 KB
...ercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-10-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 added
BIN
+784 KB
...ercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-11-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 added
BIN
+361 KB
...ercises/13-Generalized_Additive_Models_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.
Binary file added
BIN
+361 KB
...ercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-15-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 added
BIN
+625 KB
...ercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-16-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 added
BIN
+625 KB
...ercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-17-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 added
BIN
+768 KB
...ercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-22-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 added
BIN
+768 KB
...ercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-23-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 added
BIN
+393 KB
...xercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-4-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 added
BIN
+631 KB
...xercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-7-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 added
BIN
+631 KB
...xercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-8-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 added
BIN
+631 KB
...xercises/13-Generalized_Additive_Models_files/figure-html/unnamed-chunk-9-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions
5
docs/exercises/13-Generalized_Additive_Models_files/font-awesome/css/all.css
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.