diff options
author | Rasmus Andersson <rasmus@figma.com> | 2019-02-03 01:29:56 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@figma.com> | 2019-02-03 01:29:56 +0300 |
commit | 5a5be63d6e59d5c437b270a5522b370ba845bf39 (patch) | |
tree | 46a9027b80e26e5ac49a8dabac3f0867e200e9a2 /docs/res/base.js | |
parent | a5cf88e6591bfc72b34d4c898d8d567f0032a80b (diff) | |
download | inter-5a5be63d6e59d5c437b270a5522b370ba845bf39.tar.xz |
The Great Rename to "Inter"
Diffstat (limited to 'docs/res/base.js')
-rw-r--r-- | docs/res/base.js | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/docs/res/base.js b/docs/res/base.js index c808b8731..ba858b62e 100644 --- a/docs/res/base.js +++ b/docs/res/base.js @@ -77,18 +77,18 @@ var HUDNotification = { } -// InterUIDynamicTracking takes the font size in points or pixels and returns +// InterDynamicTracking takes the font size in points or pixels and returns // the compensating tracking in EM. // -function InterUIDynamicTracking(fontSize) { +function InterDynamicTracking(fontSize) { // tracking = a + b * e ^ (c * fontSize) var a = -0.017, b = 0.202, c = -0.175; return a + b * Math.pow(Math.E, c * fontSize) } -// InterUIDynamicLineHeight produces the line height for the given font size +// InterDynamicLineHeight produces the line height for the given font size // -function InterUIDynamicLineHeight(fontSize) { +function InterDynamicLineHeight(fontSize) { var l = 1.4 return Math.round(fontSize * l) } @@ -106,15 +106,3 @@ if (!window.MSStream && document.body.classList.add('safari') } } - - -// Google Analytics -// ;(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ -// (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), -// m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) -// })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); -// ga('create', 'UA-105091131-2', 'auto'); -// ga('send', 'pageview'); -window.dataLayer = window.dataLayer || []; -window.dataLayer.push(['js', new Date()]) -window.dataLayer.push(['config', 'UA-105091131-2']) |