vsn 0.1.133 → 0.1.134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demo/examples/cascading-function-sheets.html +2 -11
- package/demo/memory-leak-test.html +10 -2
- package/demo/resources/xhr-memory-leak-test.html +1 -1
- package/demo/vsn.js +2 -2
- package/dist/AST/ClassNode.js +23 -36
- package/dist/AST/ClassNode.js.map +1 -1
- package/dist/AST.js +1 -1
- package/dist/AST.js.map +1 -1
- package/dist/Attribute.d.ts +1 -0
- package/dist/Attribute.js +5 -0
- package/dist/Attribute.js.map +1 -1
- package/dist/DOM/DOMObject.d.ts +3 -0
- package/dist/DOM/DOMObject.js +8 -0
- package/dist/DOM/DOMObject.js.map +1 -1
- package/dist/EventDispatcher.d.ts +1 -0
- package/dist/EventDispatcher.js +81 -31
- package/dist/EventDispatcher.js.map +1 -1
- package/dist/Scope/ScopeDataAbstract.d.ts +1 -0
- package/dist/Scope/ScopeDataAbstract.js +45 -26
- package/dist/Scope/ScopeDataAbstract.js.map +1 -1
- package/dist/Scope/properties/Property.d.ts +1 -0
- package/dist/Scope/properties/Property.js +6 -0
- package/dist/Scope/properties/Property.js.map +1 -1
- package/dist/Scope.d.ts +1 -1
- package/dist/Scope.js +10 -4
- package/dist/Scope.js.map +1 -1
- package/dist/Tag.d.ts +1 -0
- package/dist/Tag.js +27 -34
- package/dist/Tag.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/src/AST/ClassNode.ts +7 -9
- package/src/AST.ts +1 -1
- package/src/Attribute.ts +6 -0
- package/src/DOM/DOMObject.ts +10 -0
- package/src/EventDispatcher.ts +23 -1
- package/src/Scope/ScopeDataAbstract.ts +9 -0
- package/src/Scope/properties/Property.ts +7 -0
- package/src/Scope.ts +11 -5
- package/src/Tag.ts +15 -9
- package/src/version.ts +1 -1
|
@@ -26,18 +26,9 @@
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
class #testing {
|
|
29
|
+
class #testing .test {
|
|
30
30
|
func construct() {
|
|
31
|
-
log('#testing
|
|
32
|
-
this.a|integer = 0;
|
|
33
|
-
log('this.a', this.a);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
class .test {
|
|
37
|
-
func construct() {
|
|
38
|
-
log('.test construct');
|
|
39
|
-
?<(.testing).a += 1;
|
|
40
|
-
}
|
|
31
|
+
log('#testing .test');
|
|
41
32
|
}
|
|
42
33
|
}
|
|
43
34
|
</script>
|
|
@@ -6,10 +6,18 @@
|
|
|
6
6
|
</head>
|
|
7
7
|
<body vsn-service:xhr="XHR">
|
|
8
8
|
|
|
9
|
-
<a href="./resources/xhr-memory-leak-test.html" vsn-xhr="#test.@html = '<button>wut?</button>' + response
|
|
10
|
-
<a href="./resources/xhr-memory-leak-test.html" vsn-xhr="#test.@html = '<button>huh?</button>' + response
|
|
9
|
+
<a href="./resources/xhr-memory-leak-test.html" vsn-xhr="#test.@html = '<button>wut?</button>' + response">Wut?</a>
|
|
10
|
+
<a href="./resources/xhr-memory-leak-test.html" vsn-xhr="#test.@html = '<button>huh?</button>' + response">Huh?</a>
|
|
11
|
+
<button vsn-on:click="#test.@html = ''">Clear</button>
|
|
11
12
|
<div id="test"></div>
|
|
12
13
|
|
|
13
14
|
<script type="text/javascript" src="vsn.js"></script>
|
|
15
|
+
<script type="text/vsn" vsn-script>
|
|
16
|
+
class #buttons li button {
|
|
17
|
+
on click() {
|
|
18
|
+
log('wut');
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
</script>
|
|
14
22
|
</body>
|
|
15
23
|
</html>
|