readme fix
This commit is contained in:
parent
8d600533ac
commit
a9010b529b
26
README.md
26
README.md
|
|
@ -385,6 +385,28 @@ Future plans
|
||||||
|
|
||||||
- static typing
|
- static typing
|
||||||
- rename runtime prefix `$_cola` to `_crt$$`
|
- rename runtime prefix `$_cola` to `_crt$$`
|
||||||
|
- `@use klosure` wrapped code will be execute on `DOMContentLoaded`, `main` functions will triggered firstly:
|
||||||
|
|
||||||
|
// cola
|
||||||
|
|
||||||
|
@use klosure
|
||||||
|
|
||||||
|
main(){
|
||||||
|
alert('loaded!');
|
||||||
|
}
|
||||||
|
|
||||||
|
document.title = "Page";
|
||||||
|
|
||||||
|
// js
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', function(){
|
||||||
|
alert('loaded!');
|
||||||
|
}, false);
|
||||||
|
|
||||||
|
document.addEventListener('DOMContentLoaded', function(){
|
||||||
|
document.title = "Page";
|
||||||
|
}, false);
|
||||||
|
|
||||||
- inline using of `@use`
|
- inline using of `@use`
|
||||||
|
|
||||||
@use meteor
|
@use meteor
|
||||||
|
|
@ -414,9 +436,9 @@ Future plans
|
||||||
|
|
||||||
Cola.AST_Node node = new Cola.AST_Node;
|
Cola.AST_Node node = new Cola.AST_Node;
|
||||||
|
|
||||||
- intarface
|
- interface
|
||||||
|
|
||||||
inerface UserProfile {
|
interface UserProfile {
|
||||||
String name, email;
|
String name, email;
|
||||||
Date birth;
|
Date birth;
|
||||||
String info?;
|
String info?;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user