vsn 0.1.46 → 0.1.49

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/demo.html CHANGED
@@ -74,6 +74,11 @@
74
74
  <span>Hello, world!</span>
75
75
  </template>
76
76
 
77
+ <div>
78
+ <textarea id="example-code" rows="10" cols="50"></textarea>
79
+ <div id="example-output" vsn-bind:@html="#example-code.@value"></div>
80
+ </div>
81
+
77
82
  <template vsn-template id="query-operator-example-item">
78
83
  <li vsn-list-item>
79
84
  <span vsn-if="'active' in ?(:parent).@class">active</span>
@@ -84,14 +89,6 @@
84
89
  </li>
85
90
  </template>
86
91
 
87
- <script>
88
- function bindings () {
89
- $('#something').on('click', function () {
90
- $('#something').text('Hello, world!');
91
- });
92
- }
93
- </script>
94
-
95
92
  <div id="test-container"></div>
96
93
  <a href="./markup.html" vsn-on:click|preventdefault="#test-container.@html = << @href">Fill Container</a>
97
94
  <a vsn-on:click|preventdefault="#test-container.@html = ''">Clear Container</a>