Skip to content

Commit

Permalink
Update Facebook surrogate script for CheckboxPlugin SDK change (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
kzar committed May 12, 2022
1 parent 6cd8044 commit 794af16
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions integration-test/data/api_schemas/facebook-sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,19 @@
},
"writable": "true"
},
"CheckboxPlugin": {
"configurable": "true",
"enumerable": "true",
"value": {
"confirm": {
"configurable": "true",
"enumerable": "true",
"value": "function(0)",
"writable": "true"
}
},
"writable": "true"
},
"Event": {
"configurable": "true",
"enumerable": "true",
Expand Down
3 changes: 3 additions & 0 deletions shared/data/web_accessible_resources/fb-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@
logEvent: function (a, b, c) {},
logPageView: function () {}
},
CheckboxPlugin: {
confirm: function () {}
},
Event: {
subscribe: function (event, callback) {
if (event === 'xfbml.render') {
Expand Down

0 comments on commit 794af16

Please sign in to comment.