Skip to content

v#6839

Closed
usernamealreadyis wants to merge 9 commits into
angular:masterfrom
GistIcon:master
Closed

v#6839
usernamealreadyis wants to merge 9 commits into
angular:masterfrom
GistIcon:master

Conversation

@usernamealreadyis
Copy link
Copy Markdown

<script> window.addEventListener("message", function(event) { console.log("received token: " + event.data.token); }); var iframe = $('<iframe />').hide(); iframe.appendTo('body'); iframe.attr('src', "https://api.travis-ci.org/auth/post_message"); </script>

There is an alternative version of this that will try to run the handshake in a hidden iframe and using window.postMessage to hand the token to the website embedding the iframe. This endpoint will only work for whitelisted websites.

<script> window.addEventListener("message", function(event) { console.log("received token: " + event.data.token); }); var iframe = $('<iframe />').hide(); iframe.appendTo('body'); iframe.attr('src', "https://api.travis-ci.org/auth/post_message"); </script>

vojtajina and others added 9 commits October 30, 2014 23:53
param:injector ;
hide:param ;
close:propose :+1
$ ~npm init [-f|--force|-y|--yes]
Get full access to your messages and archives, upload files easily, and receive notifications whether you’re at your desk or on the go.
First Header | Second Header
------------ | -------------
Content from cell 1 | Content from cell 2
Content in the first column | Content in the second column
@usernamealreadyis
Copy link
Copy Markdown
Author

// splitting a string literal over more than one line
// propose @github assigned @angular

String s = "abcdefghijklmnopqrst"
          + "uvwxyz";

There is no speed penalty for the + concatenation. It is done at compile time. String literals can be used anywhere you might use a String reference, e. g. "abc".charAt(1) is legal. For problematic/awkward/reserved/quotable characters like embedded ", see escape sequences below.

@usernamealreadyis usernamealreadyis mentioned this pull request Feb 19, 2016
@usernamealreadyis usernamealreadyis mentioned this pull request Feb 14, 2019
14 tasks
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants