Skip to content

Commit f4511bc

Browse files
committed
JSHint esversion set to 6.
1 parent 072c4cd commit f4511bc

12 files changed

+11073
-22
lines changed

.jshintrc

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"undef": true,
3+
"esversion": 6,
34
"unused": true,
45
"browser": true,
56
"devel": true,

Makefile

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
THEME_PATH := $(CURDIR)
42
DEV_GHOST_PATH := '/Users/toddbirchard/projects/ghostlocal'
53
DEV_GHOST_THEME_PATH := '/Users/toddbirchard/projects/ghostlocal/content/themes/hackersandslackers-ghost'
@@ -38,10 +36,11 @@ dev:
3836
clean:
3937
find . -name 'package-lock.json' -delete
4038
find . -name 'yarn-error.log' -delete
39+
find . -name '.pnp.cjs' -delete
4140
find . -wholename '*.lock' -delete
42-
find . -wholename '.yarn' -delete
43-
find . -wholename '**/node_modules' -delete
44-
find . -wholename '**/bower_components' -delete
41+
find . -type d -wholename './.yarn' -exec rm -rf {} +
42+
find . -type d -wholename '**/node_modules' -exec rm -rf {} +
43+
find . -type d -wholename './bower_components' -exec rm -rf {} +
4544

4645
.PHONY: update
4746
update:

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# HackersAndSlackers.com
22

3-
![Ghost](https://img.shields.io/badge/Ghost-^v4.0.0-lightgrey.svg?longCache=true&style=flat-square&logo=ghost&logoColor=white&colorB=656c82&colorA=4c566a)
4-
![Node](https://img.shields.io/badge/NodeJS-v^14.0.0-green.svg?longCache=true&style=flat-square&logo=node.js&logoColor=white&colorB=a3be8c&colorA=4c566a)
5-
![Sass](https://img.shields.io/badge/Sass-v1.32.11-blue.svg?longCache=true&logo=sass&longCache=true&style=flat-square&logoColor=white&colorB=b48ead&colorA=4c566a)
3+
![Ghost](https://img.shields.io/badge/Ghost-^v5.0.0-lightgrey.svg?longCache=true&style=flat-square&logo=ghost&logoColor=white&colorB=656c82&colorA=4c566a)
4+
![Node](https://img.shields.io/badge/NodeJS-v^16.0.0-green.svg?longCache=true&style=flat-square&logo=node.js&logoColor=white&colorB=a3be8c&colorA=4c566a)
5+
![Sass](https://img.shields.io/badge/Sass-v^1.5.0-blue.svg?longCache=true&logo=sass&longCache=true&style=flat-square&logoColor=white&colorB=b48ead&colorA=4c566a)
66
![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square&colorA=4c566a&colorB=a3be8c&logo=GitHub)
77
[![GitHub Issues](https://img.shields.io/github/issues/hackersandslackers/hackersandslackers-ghost.svg?style=flat-square&colorB=ebcb8b&colorA=4c566a&logo=GitHub)](https://github.com/hackersandslackers/hackersandslackers-ghost/issues)
88
[![GitHub Stars](https://img.shields.io/github/stars/hackersandslackers/hackersandslackers-ghost.svg?style=flat-square&colorB=ebcb8b&colorA=4c566a&logo=GitHub)](https://github.com/hackersandslackers/hackersandslackers-ghost/stargazers)

assets/css/style-min-rtl.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/style-min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/app.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/sass/tools/_mixins.scss

+3-7
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
}
3030

3131
@mixin figcaption() {
32-
@include fill-available();
3332
margin: 0 auto;
3433
padding: 8px 0 0;
3534
color: #737883;
@@ -84,7 +83,6 @@
8483
}
8584

8685
@mixin figcaption {
87-
@include fill-available();
8886
margin: 0 auto;
8987
padding: 8px 0 0;
9088
color: #737883;
@@ -95,7 +93,6 @@
9593
white-space: normal;
9694
@include mq($from: mobile) {
9795
display: block;
98-
width: 87% !important;
9996
height: auto;
10097
overflow: hidden;
10198
text-overflow: ellipsis;
@@ -110,7 +107,7 @@
110107

111108
@mixin code-figcaption {
112109
order: 1;
113-
@include fill-available();
110+
width: 100%;
114111
margin: 0 auto;
115112
padding: 14px 15px 10px;
116113
border-radius: 4px 4px 0 0;
@@ -122,9 +119,8 @@
122119
text-align: left;
123120
white-space: normal;
124121
@include mq($from: mobile) {
125-
@include mobile-full-width;
126-
padding: 15px;
127-
border-top: 1px solid #dde1e9;
122+
padding: 10px 15px;
123+
font-size: 1.1em;
128124
border-radius: 0;
129125
line-height: 1;
130126
text-overflow: ellipsis;

gulpfile.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
'use strict';
44

55
// Include Gulp & Plugins
6-
var gulp = require('gulp'),
6+
const gulp = require('gulp'),
77
sass = require('gulp-sass')(require('sass')),
88
rtlcss = require('gulp-rtlcss'),
99
cleanCSS = require('gulp-clean-css'),
@@ -22,7 +22,7 @@
2222
// Set the compiler to use Dart Sass instead of Node Sass
2323
sass.compiler = require('sass');
2424

25-
var onError = function( err ) {
25+
let onError = function( err ) {
2626
console.log('An error occurred:', gutil.colors.magenta(err.message));
2727
gutil.beep();
2828
this.emit('end');

0 commit comments

Comments
 (0)