facebook-promise
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -6,3 +6,4 @@ 'use strict'; | ||
}); | ||
var FBPromise = function FBPromise(opts) { | ||
var FBPromise = function FBPromise() { | ||
var opts = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; | ||
return new Promise(function (resolve) { | ||
@@ -9,0 +10,0 @@ var _opts$language = opts.language; |
{ | ||
"name": "facebook-promise", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Loads the Facebook SDK asynchronously and returns it as a Promise.", | ||
@@ -5,0 +5,0 @@ "author": "Glenn Reyes <glenn@glennreyes.com>", |
@@ -1,2 +0,2 @@ | ||
const FBPromise = (opts) => new Promise((resolve) => { | ||
const FBPromise = (opts = {}) => new Promise((resolve) => { | ||
const { | ||
@@ -3,0 +3,0 @@ language = 'en_US', |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4666
54