mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
remove trailing whitespaces ❤️
This commit is contained in:
parent
b50e0536c7
commit
cafc75b238
383 changed files with 4220 additions and 2221 deletions
|
@ -9,7 +9,6 @@
|
||||||
Discourse.EmailLog = Discourse.Model.extend({});
|
Discourse.EmailLog = Discourse.Model.extend({});
|
||||||
|
|
||||||
Discourse.EmailLog.reopenClass({
|
Discourse.EmailLog.reopenClass({
|
||||||
|
|
||||||
create: function(attrs) {
|
create: function(attrs) {
|
||||||
if (attrs.user) {
|
if (attrs.user) {
|
||||||
attrs.user = Discourse.AdminUser.create(attrs.user);
|
attrs.user = Discourse.AdminUser.create(attrs.user);
|
||||||
|
|
|
@ -15,5 +15,3 @@ Discourse.AdminCustomizeRoute = Discourse.Route.extend({
|
||||||
this.render({into: 'admin/templates/admin'});
|
this.render({into: 'admin/templates/admin'});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,5 +15,3 @@ Discourse.AdminEmailLogsRoute = Discourse.Route.extend({
|
||||||
this.render('admin/templates/email_logs');
|
this.render('admin/templates/email_logs');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminFlagsRoute = Discourse.Route.extend({
|
||||||
this.render('admin/templates/flags');
|
this.render('admin/templates/flags');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminRoute = Discourse.Route.extend({
|
||||||
this.render('admin/templates/admin');
|
this.render('admin/templates/admin');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
**/
|
**/
|
||||||
Discourse.buildRoutes(function() {
|
Discourse.buildRoutes(function() {
|
||||||
this.resource('admin', { path: '/admin' }, function() {
|
this.resource('admin', { path: '/admin' }, function() {
|
||||||
|
|
||||||
this.route('dashboard', { path: '/' });
|
this.route('dashboard', { path: '/' });
|
||||||
this.route('site_settings', { path: '/site_settings' });
|
this.route('site_settings', { path: '/site_settings' });
|
||||||
this.route('email_logs', { path: '/email_logs' });
|
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'});
|
this.render('admin/templates/site_settings', {into: 'admin/templates/admin'});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,4 @@ Discourse.AdminUserRoute = Discourse.Route.extend({
|
||||||
renderTemplate: function() {
|
renderTemplate: function() {
|
||||||
this.render('admin/templates/user', {into: 'admin/templates/admin'});
|
this.render('admin/templates/user', {into: 'admin/templates/admin'});
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminUsersListActiveRoute = Discourse.Route.extend({
|
||||||
return this.controllerFor('adminUsersList').show('active');
|
return this.controllerFor('adminUsersList').show('active');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminUsersListNewRoute = Discourse.Route.extend({
|
||||||
return this.controllerFor('adminUsersList').show('new');
|
return this.controllerFor('adminUsersList').show('new');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,5 +11,3 @@ Discourse.AdminUsersListPendingRoute = Discourse.Route.extend({
|
||||||
return this.controllerFor('adminUsersList').show('pending');
|
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'});
|
this.render('admin/templates/users_list', {into: 'admin/templates/admin'});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -46,5 +46,3 @@ Discourse.AdminCustomizeView = Discourse.View.extend({
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
*
|
*
|
||||||
* Examples:
|
* Examples:
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* someFunction = window.probes.measure(someFunction, {
|
* someFunction = window.probes.measure(someFunction, {
|
||||||
* name: "somename" // or function(args) { return "name"; },
|
* name: "somename" // or function(args) { return "name"; },
|
||||||
* before: function(data, owner, args) {
|
* before: function(data, owner, args) {
|
||||||
|
@ -26,7 +25,6 @@
|
||||||
* // minimal
|
* // minimal
|
||||||
* someFunction = window.probes.measure(someFunction, "someFunction");
|
* someFunction = window.probes.measure(someFunction, "someFunction");
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* */
|
* */
|
||||||
(function(){
|
(function(){
|
||||||
var measure, clear;
|
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() };
|
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
|
@module Discourse
|
||||||
**/
|
**/
|
||||||
window.Discourse.View = Ember.View.extend(Discourse.Presence, {});
|
window.Discourse.View = Ember.View.extend(Discourse.Presence, {});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
RailsMultisite::ConnectionManagement.each_connection do
|
RailsMultisite::ConnectionManagement.each_connection do
|
||||||
SiteSetting.refresh!
|
SiteSetting.refresh!
|
||||||
end
|
end
|
||||||
|
|
2068
db/structure.sql
2068
db/structure.sql
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue