Skip to content

Instantly share code, notes, and snippets.

@webOS101
webOS101 / fiddle.js
Last active August 29, 2015 14:06 — forked from webOS101/fiddle.js
RestaurantRepeater with RestaurantView
enyo.ready(function() {
enyo.kind({
name: 'RestaurantRepeater',
kind: 'enyo.DataRepeater',
components: [{ kind: 'RestaurantView' }]
});
enyo.kind({
name: 'RestaurantModel',
kind: 'enyo.Model',
@webOS101
webOS101 / fiddle.html
Last active August 29, 2015 14:06 — forked from webOS101/fiddle.html
Computed Property
<div id="jsconsole">
<form>
<textarea autofocus id="exec" spellcheck="false" autocapitalize="off" autofocus rows="1"> </textarea>
</form>
<div id="console">
<ul id="output"></ul>
</div>
</div>
<div id="footer"><a href="http://github.com/remy/jsconsole">Fork on Github</a> &bull; <a href="http://twitter.com/rem">Console built by @rem</a></div><script src="http://enyo-upandrunning.github.io/prettify.js"></script>
<script>
@webOS101
webOS101 / fiddle.html
Last active August 29, 2015 14:06 — forked from webOS101/fiddle.html
Collection Sample
<div id="jsconsole">
<form>
<textarea autofocus id="exec" spellcheck="false" autocapitalize="off" autofocus rows="1"> </textarea>
</form>
<div id="console">
<ul id="output"></ul>
</div>
</div>
<div id="footer"><a href="http://github.com/remy/jsconsole">Fork on Github</a> &bull; <a href="http://twitter.com/rem">Console built by @rem</a></div><script src="http://enyo-upandrunning.github.io/prettify.js"></script>
<script>
@webOS101
webOS101 / fiddle.html
Last active August 29, 2015 14:06 — forked from webOS101/fiddle.html
RestaurantModel with Change Handler
<div id="jsconsole">
<form>
<textarea autofocus id="exec" spellcheck="false" autocapitalize="off" autofocus rows="1"> </textarea>
</form>
<div id="console">
<ul id="output"></ul>
</div>
</div>
<div id="footer"><a href="http://github.com/remy/jsconsole">Fork on Github</a> &bull; <a href="http://twitter.com/rem">Console built by @rem</a></div><script src="http://enyo-upandrunning.github.io/prettify.js"></script>
<script>