mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 11:36:16 +00:00
Move JS yet again
This commit is contained in:
parent
f4ea1984b0
commit
6729142d1b
5 changed files with 129 additions and 59 deletions
|
@ -82,18 +82,15 @@ def create_app(test_config=None): # pylint: disable=R0914
|
|||
msg = "You are not authorized to view this page!!!!"
|
||||
return render_template("error.html", error=error, msg=msg), error
|
||||
|
||||
lib = Bundle(
|
||||
"lib/*.js", filters="jsmin", output="gen/lib.js", depends="lib/*.js"
|
||||
)
|
||||
scripts = Bundle(
|
||||
"js/*.js", filters="jsmin", output="gen/index.js", depends="js/*.js"
|
||||
"js/*.js", filters="jsmin", output="gen/js.js", depends="js/*.js"
|
||||
)
|
||||
|
||||
styles = Bundle(
|
||||
"sass/*.sass", filters="libsass, cssmin", output="gen/styles.css", depends='sass/**/*.sass'
|
||||
)
|
||||
|
||||
assets.register("lib", lib)
|
||||
assets.register("js", scripts)
|
||||
assets.register("scripts", scripts)
|
||||
assets.register("styles", styles)
|
||||
|
||||
# Error handlers, if the error is not a HTTP error, return 500
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue