Skip to content

Add the Notification API #148

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from

Conversation

coreyauger
Copy link
Contributor

No description provided.

@mseddon
Copy link
Contributor

mseddon commented Sep 1, 2015

See also: #146 #147


@JSExport
object Notification {
@JSExport
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Example.scala is for examples in the Readme. And we want to keep the readme short with only an introduction to scala-js-dom as a whole (not with an example of every possible sub-part of the API). So you should not change Example.scala. Especially since this example can found on MDN.

@sjrd
Copy link
Member

sjrd commented Sep 1, 2015

I think that's all I have.

*
* MDN
*/
var permission: String = js.native
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which makes me realize this should not be there.

@@ -18,7 +18,7 @@ object NodeAppendChild {
@JSExport
def main(div: html.Div) = {
val child = dom.document
.createElement("div")
.createElement("div")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert all the changes to Example.scala. It should not be touched by this PR.

@sjrd
Copy link
Member

sjrd commented Sep 2, 2015

That's all.

@coreyauger
Copy link
Contributor Author

doh! .. thought I reverted example back to the original state. What am I missing to get it back there?

@sjrd sjrd mentioned this pull request Sep 27, 2015
@sjrd
Copy link
Member

sjrd commented Sep 27, 2015

Superseded by #152

@sjrd sjrd closed this Sep 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants