Sha256: 28aac2186d1f4b936c5c9694fae7c651e69d18f42063701020fca051b4dee2a2

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

root = exports ? window
root.Applicious.Facebook = AppliciousFacebook

class AppliciousFacebook extends Applicious
	constructor: (@app_id) ->
		console.log('loaded FB' + @app_id)

	promptLogin: (permissions, callback) ->
		FB.login ((response) =>
			if response.perms and response.session
				callback true, response
			else
				callback false, response
		), perms: permissions

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
applicious_utils-0.1.4 app/assets/javascripts/applicious_utils/Applicious/facebook_class.coffee