mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Move JavaScript around because I want to!
This commit is contained in:
parent
6bee5a7113
commit
4622cc29c5
7 changed files with 19 additions and 18 deletions
|
@ -82,18 +82,18 @@ def create_app(test_config=None):
|
|||
msg = "You are not authorized to view this page!!!!"
|
||||
return render_template("error.html", error=error, msg=msg), error
|
||||
|
||||
js_pre = Bundle(
|
||||
"js/pre/*.js", filters="jsmin", output="gen/pre_packed.js", depends="**"
|
||||
lib = Bundle(
|
||||
"lib/*.js", filters="jsmin", output="gen/lib.js", depends="lib/*.js"
|
||||
)
|
||||
js_post = Bundle(
|
||||
"js/post/*.js", filters="jsmin", output="gen/post_packed.js", depends="**"
|
||||
js = Bundle(
|
||||
"js/*.js", filters="jsmin", output="gen/index.js", depends="js/*.js"
|
||||
)
|
||||
styles = Bundle(
|
||||
"sass/*.sass", filters="libsass,cssmin", output="gen/styles.css", depends="**"
|
||||
)
|
||||
|
||||
assets.register("js_pre", js_pre)
|
||||
assets.register("js_post", js_post)
|
||||
assets.register("lib", lib)
|
||||
assets.register("js", js)
|
||||
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