mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:03:43 +08:00
remove trailing whitespaces ❤️
This commit is contained in:
parent
b50e0536c7
commit
cafc75b238
|
@ -9,7 +9,6 @@
|
|||
Discourse.EmailLog = Discourse.Model.extend({});
|
||||
|
||||
Discourse.EmailLog.reopenClass({
|
||||
|
||||
create: function(attrs) {
|
||||
if (attrs.user) {
|
||||
attrs.user = Discourse.AdminUser.create(attrs.user);
|
||||
|
|
|
@ -15,5 +15,3 @@ Discourse.AdminCustomizeRoute = Discourse.Route.extend({
|
|||
this.render({into: 'admin/templates/admin'});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -15,5 +15,3 @@ Discourse.AdminEmailLogsRoute = Discourse.Route.extend({
|
|||
this.render('admin/templates/email_logs');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminFlagsRoute = Discourse.Route.extend({
|
|||
this.render('admin/templates/flags');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminRoute = Discourse.Route.extend({
|
|||
this.render('admin/templates/admin');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
**/
|
||||
Discourse.buildRoutes(function() {
|
||||
this.resource('admin', { path: '/admin' }, function() {
|
||||
|
||||
this.route('dashboard', { path: '/' });
|
||||
this.route('site_settings', { path: '/site_settings' });
|
||||
this.route('email_logs', { path: '/email_logs' });
|
||||
|
|
|
@ -15,5 +15,3 @@ Discourse.AdminSiteSettingsRoute = Discourse.Route.extend({
|
|||
this.render('admin/templates/site_settings', {into: 'admin/templates/admin'});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -14,7 +14,4 @@ Discourse.AdminUserRoute = Discourse.Route.extend({
|
|||
renderTemplate: function() {
|
||||
this.render('admin/templates/user', {into: 'admin/templates/admin'});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminUsersListActiveRoute = Discourse.Route.extend({
|
|||
return this.controllerFor('adminUsersList').show('active');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminUsersListNewRoute = Discourse.Route.extend({
|
|||
return this.controllerFor('adminUsersList').show('new');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminUsersListPendingRoute = Discourse.Route.extend({
|
|||
return this.controllerFor('adminUsersList').show('pending');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminUsersListRoute = Discourse.Route.extend({
|
|||
this.render('admin/templates/users_list', {into: 'admin/templates/admin'});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -46,5 +46,3 @@ Discourse.AdminCustomizeView = Discourse.View.extend({
|
|||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
*
|
||||
* Examples:
|
||||
*
|
||||
*
|
||||
* someFunction = window.probes.measure(someFunction, {
|
||||
* name: "somename" // or function(args) { return "name"; },
|
||||
* before: function(data, owner, args) {
|
||||
|
@ -26,7 +25,6 @@
|
|||
* // minimal
|
||||
* someFunction = window.probes.measure(someFunction, "someFunction");
|
||||
*
|
||||
*
|
||||
* */
|
||||
(function(){
|
||||
var measure, clear;
|
||||
|
|
|
@ -155,5 +155,3 @@ Discourse.ScreenTrack = Ember.Object.extend({
|
|||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -15,5 +15,3 @@ Discourse.UserRoute = Discourse.Route.extend({
|
|||
return { username: Em.get(params, 'username').toLowerCase() };
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -28,5 +28,3 @@ Discourse.ArchetypeOptionsView = Em.ContainerView.extend({
|
|||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -162,5 +162,3 @@ Discourse.PostMenuView = Discourse.View.extend({
|
|||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
|
@ -8,5 +8,3 @@
|
|||
@module Discourse
|
||||
**/
|
||||
window.Discourse.View = Ember.View.extend(Discourse.Presence, {});
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
RailsMultisite::ConnectionManagement.each_connection do
|
||||
SiteSetting.refresh!
|
||||
end
|
||||
|
|
2068
db/structure.sql
2068
db/structure.sql
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user