vsn 0.1.67 → 0.1.68

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
@@ -211,6 +211,21 @@
211
211
  vision.registry.controllers.register('MVal', MVal);
212
212
  });
213
213
  </script>
214
+
215
+ <script vsn-script type="text/vsn">
216
+ class testing-class {
217
+ on click() {
218
+ @text = 'Clicked';
219
+ }
220
+
221
+ on mouseenter() {
222
+ @text = 'Hovered!';
223
+ }
224
+ }
225
+ </script>
226
+
227
+ <button class="testing-class" test="1">Click me</button>
228
+
214
229
  <script type="text/javascript" src="vsn.js"></script>
215
230
  </body>
216
231
  </html>