-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
65 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
# -*- coding: utf-8 -*- | ||
# the simplest htag'app, in the best env to start development (hot reload/refresh) | ||
|
||
from htag import Tag | ||
|
||
class App(Tag.body): | ||
statics="body {background:#EEE;}" | ||
|
||
def init(self): | ||
self += "xxx World!!!" | ||
|
||
#================================================================================= | ||
from htag.runners import BrowserHTTP as Runner | ||
# from htag.runners import BrowserHTTP as Runner | ||
# from htag.runners import ChromeApp as Runner | ||
|
||
app=Runner(App) | ||
if __name__=="__main__": | ||
app.run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters