vsn 0.1.60 → 0.1.61

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
@@ -94,7 +94,7 @@
94
94
  <a vsn-on:click|preventdefault="#test-container.@html = ''">Clear Container</a>
95
95
 
96
96
  <h2>On Click</h2>
97
- <button vsn-on:click="show = !show" vsn-set:show="false|boolean">Toggle</button>
97
+ <button vsn-on:click="show = !show" vsn-set:show|boolean="false">Toggle</button>
98
98
  <span vsn-bind="show"></span>
99
99
 
100
100
  <a id="click-test" vsn-on:click="if(@text != @clicktext){@text=@clicktext}else{@text='Click Me'}" clicktext="Clicked!">Click Me</a>
@@ -193,12 +193,12 @@
193
193
 
194
194
  <script type="text/javascript">
195
195
  window.addEventListener('vsn', function () {
196
- vision.registry.classes.register('TestController', TestController);
197
- vision.registry.classes.register('TestItem', TestItem);
198
- vision.registry.classes.register('Controller', Controller);
199
- vision.registry.classes.register('MVal', MVal);
196
+ vision.registry.controllers.register('TestController', TestController);
197
+ vision.registry.controllers.register('TestItem', TestItem);
198
+ vision.registry.controllers.register('Controller', Controller);
199
+ vision.registry.controllers.register('MVal', MVal);
200
200
  });
201
201
  </script>
202
202
  <script type="text/javascript" src="vsn.js"></script>
203
203
  </body>
204
- </html>
204
+ </html>