21 Commits

Author SHA1 Message Date
Leonardo Rossi
b53ea1e304
Adds option to specify an header height (#1045)
* Adds option to specify an header height

When using a template that has a sticky-header, clicking on the sidebar will
scroll the page under the header.

I added the option `headerHeight` (default = `0`) so that the content div will
be scrolled down that amount of pixels.

* updates documentation and renames variable
2020-03-09 14:19:31 +05:30
Anix
75c72e917b
chore: added new linter config (#1028)
* chore: added new linter config

* chore: linting fixes

* chore: refactore in linting config and minor linting fixes
2020-02-20 14:01:04 +05:30
Giulio Ambrogi
db97a1d22a Eslint fixes for v4x (#989)
* UPDATE .eslintrc

* UPDATE lint task

* FIX lint errors

* CLEANUP

* FIX no-eq-null warning

* FIX many jsdoc warnings

* FIX jsdoc issues

* FIX jsdoc warnings

* FIX jsdoc

* FIX eqeq and no-eq-null

* ADD lint to travis

* UPDATE test env for eslint
2019-12-30 22:01:46 +05:30
cinwell.li
8352a1e489
refactor: build config (#408)
* refactor: build config

* chore: fix conflict

* fix: 404 page path
2018-03-03 22:51:27 +08:00
qingwei.li
dc0c3ced4e fix(embed): compatible ssr 2018-02-12 16:25:28 +08:00
qingwei.li
9e824a4958 fix: ssr coverpage, fixed #273 2018-02-11 22:22:06 +08:00
qingwei.li
aba2aec0d0 chore: prettier code 2017-09-22 10:07:10 +08:00
qingwei.li
22b50f07c3
fix: auto replace version 2017-05-31 08:25:00 +08:00
qingwei.li
0014895c19
fix(ssr): clean files 2017-05-30 19:39:39 +08:00
qingwei.li
6b9e0922cf
fix(ssr): add debug 2017-05-30 16:16:36 +08:00
qingwei.li
79a83bc17d
fix(ssr): file path 2017-05-30 15:27:04 +08:00
qingwei.li
8595c99c0b
docs(ssr): add ssr 2017-05-30 11:54:37 +08:00
qingwei.li
b764b6e32c
fix: lint 2017-05-30 06:34:16 +08:00
qingwei.li
46261572e3
fix(ssr): remove context 2017-05-30 06:32:41 +08:00
qingwei.li
d4f6072d10 refactor(ssr): path => context 2017-05-30 04:28:30 +08:00
qingwei.li
891475e132 refactor(ssr): for test 2017-05-30 04:28:30 +08:00
qingwei.li
1acfdd335c refactor(ssr): return promise 2017-05-30 04:28:30 +08:00
qingwei.li
1f4514dcad fix: lint 2017-05-30 04:28:30 +08:00
qingwei.li
eba1c987a8 fix(render): init event in ssr 2017-05-30 04:28:30 +08:00
qingwei.li
3444884905 feat: finish ssr 2017-05-30 04:28:30 +08:00
qingwei.li
6dea685fee feat: init ocsify-server-renderer 2017-05-30 04:28:30 +08:00