remove trailing whitespaces ❤️

This commit is contained in:
Gosha Arinich 2013-02-25 19:42:20 +03:00
parent b50e0536c7
commit cafc75b238
383 changed files with 4220 additions and 2221 deletions

View file

@ -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);

View file

@ -15,5 +15,3 @@ Discourse.AdminCustomizeRoute = Discourse.Route.extend({
this.render({into: 'admin/templates/admin'}); this.render({into: 'admin/templates/admin'});
} }
}); });

View file

@ -15,5 +15,3 @@ Discourse.AdminEmailLogsRoute = Discourse.Route.extend({
this.render('admin/templates/email_logs'); this.render('admin/templates/email_logs');
} }
}); });

View file

@ -11,5 +11,3 @@ Discourse.AdminFlagsRoute = Discourse.Route.extend({
this.render('admin/templates/flags'); this.render('admin/templates/flags');
} }
}); });

View file

@ -11,5 +11,3 @@ Discourse.AdminRoute = Discourse.Route.extend({
this.render('admin/templates/admin'); this.render('admin/templates/admin');
} }
}); });

View file

@ -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' });

View file

@ -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'});
} }
}); });

View file

@ -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'});
} }
}); });

View file

@ -11,5 +11,3 @@ Discourse.AdminUsersListActiveRoute = Discourse.Route.extend({
return this.controllerFor('adminUsersList').show('active'); return this.controllerFor('adminUsersList').show('active');
} }
}); });

View file

@ -11,5 +11,3 @@ Discourse.AdminUsersListNewRoute = Discourse.Route.extend({
return this.controllerFor('adminUsersList').show('new'); return this.controllerFor('adminUsersList').show('new');
} }
}); });

View file

@ -11,5 +11,3 @@ Discourse.AdminUsersListPendingRoute = Discourse.Route.extend({
return this.controllerFor('adminUsersList').show('pending'); return this.controllerFor('adminUsersList').show('pending');
} }
}); });

View file

@ -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'});
} }
}); });

View file

@ -46,5 +46,3 @@ Discourse.AdminCustomizeView = Discourse.View.extend({
} }
}); });

View file

@ -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;

View file

@ -155,5 +155,3 @@ Discourse.ScreenTrack = Ember.Object.extend({
} }
}); });

View file

@ -15,5 +15,3 @@ Discourse.UserRoute = Discourse.Route.extend({
return { username: Em.get(params, 'username').toLowerCase() }; return { username: Em.get(params, 'username').toLowerCase() };
} }
}); });

View file

@ -28,5 +28,3 @@ Discourse.ArchetypeOptionsView = Em.ContainerView.extend({
} }
}); });

View file

@ -162,5 +162,3 @@ Discourse.PostMenuView = Discourse.View.extend({
} }
}); });

View file

@ -8,5 +8,3 @@
@module Discourse @module Discourse
**/ **/
window.Discourse.View = Ember.View.extend(Discourse.Presence, {}); window.Discourse.View = Ember.View.extend(Discourse.Presence, {});

View file

@ -1,5 +1,3 @@
RailsMultisite::ConnectionManagement.each_connection do RailsMultisite::ConnectionManagement.each_connection do
SiteSetting.refresh! SiteSetting.refresh!
end end

File diff suppressed because it is too large Load diff