mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Added eslint configurations, and jquery.
This commit is contained in:
22
src/frontend/static/script/.eslintrc.yml
vendored
Normal file
22
src/frontend/static/script/.eslintrc.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
env:
|
||||
browser: true
|
||||
es2021: true
|
||||
jquery: true
|
||||
extends: eslint:recommended
|
||||
overrides: []
|
||||
parserOptions:
|
||||
ecmaVersion: latest
|
||||
sourceType: module
|
||||
rules:
|
||||
indent:
|
||||
- error
|
||||
- 2
|
||||
linebreak-style:
|
||||
- error
|
||||
- unix
|
||||
quotes:
|
||||
- error
|
||||
- double
|
||||
semi:
|
||||
- error
|
||||
- always
|
||||
6
src/frontend/static/script/bulma-helper.js
Normal file
6
src/frontend/static/script/bulma-helper.js
Normal file
@@ -0,0 +1,6 @@
|
||||
$(document).ready(function() {
|
||||
$(".navbar-burger").click(function(){
|
||||
$(".navbar-burger").toggleClass("is-active");
|
||||
$(".navbar-menu").toggleClass("is-active");
|
||||
});
|
||||
});
|
||||
10909
src/frontend/static/script/jquery-3.6.1.js
Normal file
10909
src/frontend/static/script/jquery-3.6.1.js
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user