refactor: client-side optimizations + lazy-loading

This commit is contained in:
NGPixel
2017-05-23 00:27:16 -04:00
parent 6b47064ccc
commit dc0e2fac41
16 changed files with 163 additions and 117 deletions

View File

@@ -1,13 +1,13 @@
'use strict'
import $ from 'jquery'
import _ from 'lodash'
import delay from 'lodash/delay'
module.exports = {
complete () {
$('#page-loader').addClass('is-loaded')
_.delay(() => {
delay(() => {
$('#page-loader').addClass('is-hidden')
}, 1100)
}