.gitignore:
src/**/*.css
!src/index.css
!src/assets
git rm -r --cached . && git add .
'use strict'; | |
const repl = require('repl'); | |
// const request = require('supertest'); | |
// const app = require('./app'); | |
const models = require('./models'); | |
const context = repl.start('node> ').context; | |
context.models = models; |
.gitignore:
src/**/*.css
!src/index.css
!src/assets
git rm -r --cached . && git add .
files: | |
include: '**/*.s+(a|c)ss' | |
options: | |
formatter: stylish | |
merge-default-rules: false | |
rules: | |
bem-depth: | |
- 1 | |
- max-depth: 1 | |
brace-style: |
{ | |
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML, like Gecko) Chrome/61.0.3116.0 Mobile Safari/537.36", | |
"lighthouseVersion": "2.1.0", | |
"generatedTime": "2017-06-14T11:56:11.633Z", | |
"initialUrl": "https://tutor24.ch/", | |
"url": "https://tutor24.ch/", | |
"audits": { | |
"is-on-https": { | |
"score": true, | |
"displayValue": "", |
html { | |
font-size: 62.5%; | |
font-family: 'San Francisco', 'SNFS Display', BlinkMacSystemFont, "Segoe UI", Roboto, | |
Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; | |
/* font-family: -apple-system, BlinkMacSystemFont, Segoe UI,Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, | |
Droid Sans, Helvetica Neue, sans-serif; */ | |
-webkit-font-smoothing: antialiased; | |
} | |
const bees = [2, 4, 5, 6, 1, 3, 2, 4]; | |
function countAges() { | |
// 1-3 | |
let firstLifeStage = 0; | |
// 4-6 | |
let secondLifeStage = 0; | |
bees.forEach((beeAge) => { | |
if (beeAge >= 1 && beeAge < 3) { |
function checkType(item, test) { | |
const parsedTest = Array.isArray(test) ? test[0] : test; | |
return item.constructor === parsedTest; | |
} | |
function checkArrayType(value, test) { | |
const result = []; | |
value.forEach((item, i) => { | |
if (typeof item === 'object') { | |
result.push(checkObjectType(item, test[i])); |
I hereby claim:
To claim this, I am signing this object:
{% if bundle.published %} | |
<div class="sections"> | |
{% assign section = bundle.current_section %} | |
{% if bundle.sections.size > 0 %} | |
<div class="section"> | |
<h1>{{ section.name }}</h1> | |
<p class="section__description">{{section.description}}</p> | |
<div class="product-box"> | |
{% if section.products %} |
{% if bundle.published %} | |
<div class="sections"> | |
{% assign section = bundle.current_section %} | |
{% if bundle.sections.size > 0 %} | |
<div class="section"> | |
<h1>{{ section.name }}</h1> | |
<p class="section__description">{{section.description}}</p> | |
<div class="product-box"> | |
{% if section.products %} |