This file contains hidden or 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
var _Example = { | |
name:"com.technisode.example.App", | |
kind:"Control", | |
components:[ | |
{kind:"Button", caption:"click me", onclick:"clicked"}, | |
{kind:"toaster.addtsk", name:"addtsk"} | |
], | |
clicked:function() { | |
this.$.addtsk.openAtCenter(); | |
} |
This file contains hidden or 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
var _Example = { | |
name:"com.technisode.example.App", | |
kind:"Control", | |
published:{ | |
a:1, | |
b:2, | |
c:3 | |
}, | |
components:[ | |
{kind:"IntegerPicker", name:"aPicker", label:"A"}, |
This file contains hidden or 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:"ex.App", | |
kind:"Control", | |
components:[ | |
{kind:"cubiq.iScroll", components:[ | |
{kind:"VirtualRepeater", onSetupRow:"setupRow", components:[ | |
{name:"row", onclick:"rowClicked"}, | |
{kind:"Button", onclick:"buttonClicked"}, | |
{kind:"Slider", min:0, max:20} | |
]}, |
This file contains hidden or 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
.todo-list { | |
width:50%; | |
background:#fff; | |
} | |
.todo-list .task-row { | |
height:40px; | |
background:#ccf; | |
border-bottom:1px solid #eef; | |
} |
This file contains hidden or 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:"ex.RemoteEcho", | |
kind:"cli.Command", | |
command:"recho", | |
commandHandler:function(source, command) { | |
this.doCommandResponse({response:[{content:"You said, \"" + command.argList.join(" ") + "\""}]}); | |
} | |
}); | |
enyo.kind({ |
This file contains hidden or 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: "LoaderTest", | |
kind: enyo.TestSuite, | |
testSingleLoad: function() { | |
enyo.load("tests/loader1.js", enyo.bind(this, | |
function() { | |
if (window.LOADER_TEST === "loader1") { | |
this.finish(); | |
} | |
else { |
This file contains hidden or 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
<snippet> | |
<content><![CDATA[ | |
this.inherited(arguments); | |
]]></content> | |
<tabTrigger>inh</tabTrigger> | |
<scope>source.js</scope> | |
<description>this.inherited(arguments);</description> | |
</snippet> |
This file contains hidden or 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
/* | |
* jssha256 version 0.1 - Copyright 2006 B. Poettering | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License as | |
* published by the Free Software Foundation; either version 2 of the | |
* License, or (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains hidden or 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 CLI fiddle |
This file contains hidden or 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.FittableLayout_ provides the base positioning and boundary logic for | |
the fittable layout strategy. The fittable layout strategy is based on | |
laying out items in either a set of rows or a set of columns, with most of | |
the items having natural size, but one item expanding to fill the remaining | |
space. The item that expands is labeled with the attribute _fit: true_. | |
The subkinds <a href="#enyo.FittableColumnsLayout">enyo.FittableColumnsLayout</a> | |
and <a href="#enyo.FittableRowsLayout">enyo.FittableRowsLayout</a> (or | |
<i>their</i> subkinds) are used for layout rather than _enyo.FittableLayout_ |
OlderNewer