Skip to content

Commit

Permalink
fix(#81): dayjs import
Browse files Browse the repository at this point in the history
  • Loading branch information
lh1me committed Jan 25, 2022
1 parent e6bef67 commit 5fb1028
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1643012854291
version: 1643075077087
language: cn
aomori_widgets:
- toc
Expand Down
2 changes: 1 addition & 1 deletion source/dist/custom.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/javascripts/app.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'boxicons'
import 'viewerjs'
import 'jquery-viewer'
import 'dayjs'


// 入口文件
import './custom'
Expand Down
2 changes: 2 additions & 0 deletions source/javascripts/custom.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import $ from 'jquery'
import dayjs from 'dayjs'
import { addNewClass, removeClass, throttle } from './class-module'
;(function () {
let toggles = document.querySelectorAll('.cases .item')
Expand Down Expand Up @@ -259,6 +260,7 @@ import { addNewClass, removeClass, throttle } from './class-module'
// LazyLoad
const lazyLoad = new LazyLoad()

// Fxxk adblock
const ads = $('.adsbygoogle')
if (
window.isPost &&
Expand Down

0 comments on commit 5fb1028

Please sign in to comment.