06c4e4b0 by Adam Heath

Change the name of the facebook library to use.

1 parent 331463db
......@@ -34,13 +34,13 @@ define(function(require) {
var FacebookProvider = Backbone.Model.extend({
initialize: function(data, globalOptions) {
// early facebook javascript load
require(['facebook']);
require(['fb']);
FacebookProvider.__super__.initialize.apply(this, arguments);
var self = this;
var fbLoaded = $.Deferred();
var ready = attachReady(this);
attachStart(this, function() {
require(['facebook'], function(FB) {
require(['fb'], function(FB) {
FB.init({
appId: globalOptions.appId,
status: true,
......