mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
161420fac0
Collapse user actions in UI so it stops looking crazy Removed dud dupe user action TOPIC_RESPONSE Always show the owner of a post on the user page, actions by others at the bottom
21 lines
482 B
JavaScript
21 lines
482 B
JavaScript
// hacks for ember, this sets up our app for testing
|
|
|
|
(function(){
|
|
|
|
var currentWindowOnload = window.onload;
|
|
window.onload = function() {
|
|
if (currentWindowOnload) {
|
|
currentWindowOnload();
|
|
}
|
|
|
|
$('<div id="main"><div class="rootElement"></div></div>').appendTo($('body')).hide();
|
|
|
|
Discourse.SiteSettings = {}
|
|
|
|
Discourse.Router.map(function() {
|
|
this.route("jasmine",{path: "/jasmine"});
|
|
Discourse.routeBuilder.apply(this)
|
|
});
|
|
}
|
|
|
|
})()
|