事件创建有何不同:
from flask import Flask
app = Flask(__name__)
application = app # our hosting requires application in passenger_wsgi
@app.route("/")
def hello():
return "This is Hello World!\n"
if __name__ == "__main__":
application = app.run()
和
$(document).on('click', '.some-class', function(e) {...}
?
它会带来性能差异吗?