Skip to content

@jmaicher /app.js
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
steal.plugins("app/home");
steal.plugins("jquery/controller").controllers("list").then(function($) {
$.Controller.extend("App.Home",{onDocument: true},
{
ready : function() {
$( "#list" ).app_home_list();
}
});
});
<li><%= string %></li>
steal.plugins("jquery/controller", "jquery/view/ejs", 'jquery/controller/view').then(function($) {
$.Controller.extend("App.Home.Controllers.List",
/* @static */
{
},
/* @prototype */
{
init : function() {
this.element.html(this.view("list", {string: "Hello World"}));
}
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.