This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This is an an implementation of ace. You will need three files for this to work. Located in Roffis-Site */ | |
<body> | |
<pre id="editor">function foo(items) { | |
var i; | |
for (i = 0; i < items.length; i++) { | |
alert("Ace Rocks " + items[i]); | |
} | |
}</pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enyo.kind({ | |
name: "Sample", | |
kind: "Control", | |
components: [ | |
{name: "input", tag: "input"}, | |
{tag: "br"}, | |
{name: "button", tag: "button", content: "Button,Jim", ontap: "buttonTap"}, | |
{tag: "br"}, | |
{name: "output", classes: "sample-output"} | |
], |