Skip to content

Commit

Permalink
Set __xdomain__ prop on cross-domain functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Brain committed May 3, 2017
1 parent 77ea34a commit c0b0455
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ export function deserializeMethod(source, origin, obj) {
}

wrapper.__name__ = obj.__name__;
wrapper.__xdomain__ = true;

wrapper.source = source;
wrapper.origin = origin;

Expand Down

0 comments on commit c0b0455

Please # to comment.