mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 08:48:18 -05:00
Load admin bar backbone with noConflict.
This is to avoid conflicts with Backbone on the about pages until Backbone is in the main JS lib.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
(function(Backbone) {
|
||||
|
||||
r.adminbar = {}
|
||||
|
||||
r.adminbar.AdminBar = Backbone.View.extend({
|
||||
@@ -209,3 +211,5 @@ $(function() {
|
||||
r.adminbar.browserTimings.fetch()
|
||||
}, 0)
|
||||
})
|
||||
|
||||
})(Backbone.noConflict())
|
||||
|
||||
Reference in New Issue
Block a user