Upgrade to 1.8.1: So long, metamorphs!

This commit is contained in:
Robin Ward
2014-12-01 12:54:59 -05:00
parent b4363de280
commit 39fde5b9fb
15 changed files with 13494 additions and 10660 deletions

View File

@@ -1,12 +1,5 @@
<%
if Rails.env.development?
require_asset ("development/list-view.js")
else
require_asset ("production/list-view.js")
end
require_asset("main_include_admin.js")
DiscoursePluginRegistry.admin_javascripts.each { |js| require_asset(js) }
%>

View File

@@ -8,7 +8,7 @@
**/
Discourse.CategoryList = Ember.ArrayProxy.extend({
init: function() {
this.content = [];
this.set('content', []);
this._super();
}
});

View File

@@ -527,7 +527,7 @@ Discourse.PostStream = Em.Object.extend({
this.get('stream').removeObjects(postIds);
this.get('posts').removeObjects(posts);
postIds.forEach(function(id){
identityMap.remove(id);
identityMap.delete(id);
});
},

View File

@@ -73,7 +73,7 @@
{{loading-spinner condition=postStream.loadingAbove}}
{{#unless postStream.loadingFilter}}
{{cloaked-collection cloakView="post"
{{cloaked-collection itemViewClass="post"
idProperty="post_number"
defaultHeight="200"
content=postStream.posts

View File

@@ -1,10 +1,3 @@
/**
Lists previous posts in the history of a post.
@class ReplyHistory
@namespace Discourse
@module Discourse
**/
export default Em.CollectionView.extend({
tagName: 'section',
classNameBindings: [':embedded-posts', ':top', ':topic-body', ':offset2', 'hidden'],
@@ -12,5 +5,3 @@ export default Em.CollectionView.extend({
hidden: Em.computed.equal('content.length', 0),
previousPost: true
});

View File

@@ -1,3 +1,4 @@
//= require list-view
//= require admin/models/user-field
//= require admin/controllers/admin-email-skipped
//= require admin/controllers/change-site-customization-details