.> builtins.mergeio
.> load unison-src/transcripts-using-base/base.u
/** @jsx React.DOM */ | |
var AppRouteTarget = { | |
setupLayout: function () { | |
React.renderComponent({ | |
<App className='page-content'>, | |
document.querySelector('body') | |
}); | |
} | |
}; |
YUI.add('models:my_model', function (Y, NAME, __imports__, __exports__) { | |
"use strict"; | |
var MyOtherModel = __imports__['models/my_other_model']['default']; | |
var MyModel = Y.Base.create('models:myModel', | |
MyOtherModel | |
[], | |
{ | |
// .. some implementation | |
}, |
var DocumentRouteTarget = { | |
show: function () { | |
// this function is called for /documents/:id urls like /documents/123 | |
} | |
}; |