Sha256: c8a72a2a93d56a1593a2a54c90e320ad823a870c026f998b9c1a2ecb38a4bb37

Contents?: true

Size: 307 Bytes

Versions: 4

Compression:

Stored size: 307 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
applicious_utils-0.1.3 app/assets/javascripts/applicious_utils/Applicious/facebook_class.coffee
applicious_utils-0.1.2 app/assets/javascripts/applicious_utils/Applicious/facebook.class.coffee
applicious_utils-0.1.1 app/assets/javascripts/applicious_utils/Applicious/facebook.class.coffee
applicious_utils-0.1.0 app/assets/javascripts/applicious_utils/Applicious/facebook.coffee