06c4e4b0 by Adam Heath

Change the name of the facebook library to use.

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