mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 10:31:10 +08:00
removed sugar.js, port functionality to moment and underscore.js
bring in latest ace from local so we don't mess up with https
This commit is contained in:
@ -294,7 +294,7 @@ Discourse = Ember.Application.createWithMixins({
|
||||
|
||||
bus.subscribe("/categories", function(data){
|
||||
var site = Discourse.Site.instance();
|
||||
data.categories.each(function(c){
|
||||
_.each(data.categories,function(c){
|
||||
site.updateCategory(c)
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user