Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
</body>
</html>
 
var maquette_1 = { h: function(s, arr) { console.log(arr[0]); }};
var Todolist_1 = { TodoList: function(s) { this.store = s; this.render = function() { return this.store; }; } };
var App = (function () {
    function App(store) {
        this.store = store;
    }
    App.prototype.render = function () {
        return maquette_1.h('div.main-component', [
            new Todolist_1.TodoList(this.store).render()
        ]);
    };
    return App;
}());
var b = new App({a: 12});
b.render();
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers