High sierra https://itunes.apple.com/us/app/macos-high-sierra/id1246284741?ls=1&mt=12
Mojave
| <template> | |
| <component :is="tag" :class="classes" :style="style"><slot></slot></component> | |
| </template> | |
| <script> | |
| import { isNumber } from '@/helpers/is' | |
| import { stringToModifiers } from '@/helpers/bem' | |
| export default { | |
| name: 'BaseScrollbar', |
| /* ---- | |
| css custom properties to manipulate color | |
| MIT - 2017 - Soft Punch | |
| https://gist.github.com/softpunch/ | |
| set initial "main" color via HSL values. | |
| automatically calculate harmonies and variations of that color with pure css. | |
| harmonies are determined solely by hue. |
High sierra https://itunes.apple.com/us/app/macos-high-sierra/id1246284741?ls=1&mt=12
Mojave
| const scrollBarGap = window.innerWidth - document.documentElement.clientWidth |
<time datetime="1914"> <!-- means the year 1914 -->
<time datetime="1914-12"> <!-- means December 1914 -->
<time datetime="1914-12-20"> <!-- means 20 December 1914 -->
<time datetime="12-20"> <!-- means 20 December any year -->
<time datetime="1914-W15"> <!-- means week 15 of year 1914 -->| <template> | |
| <div id="app"> | |
| <p> | |
| Pending: {{ $store.state.getInfoPending }} | |
| </p> | |
| <p> | |
| {{ $store.state.getInfoData }} | |
| </p> | |
| </div> | |
| </template> |
| /* | |
| Serve is a very simple static file server in go | |
| Usage: | |
| -p="8100": port to serve on | |
| -d=".": the directory of static files to host | |
| Navigating to http://localhost:8100 will display the index.html or directory | |
| listing file. | |
| */ | |
| package main |
| //events - a super-basic Javascript (publish subscribe) pattern | |
| var events = { | |
| events: {}, | |
| on: function (eventName, fn) { | |
| this.events[eventName] = this.events[eventName] || []; | |
| this.events[eventName].push(fn); | |
| }, | |
| off: function(eventName, fn) { | |
| if (this.events[eventName]) { |