Skip to content

Attributes + dependencies #15

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

Merged
merged 1 commit into from
Mar 25, 2014
Merged

Attributes + dependencies #15

merged 1 commit into from
Mar 25, 2014

Conversation

antonkulaga
Copy link
Contributor

I added an implicit class for attributes and updated dependencies to scalajs 2.41

@lihaoyi
Copy link
Contributor

lihaoyi commented Mar 25, 2014

I'm not a collections expert, but could you briefly describe why you need to extend both mutable.Map and mutable.MapLike? I would have thought the first would be sufficient for most purposes.

@antonkulaga
Copy link
Contributor Author

Yes, you are right, MapLike is redundant here as Map already inherits from MapLike. Originally I was going to make it with maplike but then noticed that I can extend Map.

P.S. By the way, as I understand you also use intellij idea? For me the error highlightning is completely broken in scalajsdom but in the same time everything works. If you have the same, maybe it is worth opening an issue there?

@@ -8,7 +8,7 @@ version := "0.4-SNAPSHOT"

organization := "org.scala-lang.modules.scalajs"

crossScalaVersions := Seq("2.10.2", "2.11.0-M7", "2.11.0-M8")
crossScalaVersions := Seq("2.10.2","2.10.3", "2.11.0-M7", "2.11.0-M8")
Copy link
Member

Choose a reason for hiding this comment

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

This is superfluous. The 2.10.x series are backward and forward binary compatible. There is no need to cross-compile against several versions in the same series.

@antonkulaga
Copy link
Contributor Author

@sjrd , I deleted override for Empty and crosscompilation for 2.10.3 as you suggested (by the way, maybe it makes sens to delete cross-compilation for 2.11 milestones as 2.11RC3 is realeased?)

@sjrd
Copy link
Member

sjrd commented Mar 25, 2014

We'll keep cross-compiling for 2.11 M7 and M8 until 2.11 final is out, because people may have come to develop their project in, say, 2.11.0-M8, and maybe don't want to upgrade every time a new RC is out.

@lihaoyi
Copy link
Contributor

lihaoyi commented Mar 25, 2014

Are you using the sbt-idea plugin? IntelliJ's own sbt import borks everything, but sbt-idea's project gen looks fine.

The PR looks good to me, I'll leave it to @sjrd to merge it if he's happy with everything

@antonkulaga
Copy link
Contributor Author

Are you using the sbt-idea plugin?

I use sbt-idea 1.6.0 with latest Intellij Idea. Probably there is a regression either in Idea or in sbt-idea plugin because it used to work fine.

@lihaoyi
Copy link
Contributor

lihaoyi commented Mar 25, 2014

I've been using 1.5.2

@sjrd
Copy link
Member

sjrd commented Mar 25, 2014

Ideally, the 4 commits should be squashed into a single one, since the last three "fix" the first one. Also, while you are at it, you could remove double blank lines (replace 2 consecutive blank lines by a single one).

@antonkulaga
Copy link
Contributor Author

@sjrd check now, I have squashed them

@sjrd
Copy link
Member

sjrd commented Mar 25, 2014

LGTM

sjrd added a commit that referenced this pull request Mar 25, 2014
@sjrd sjrd merged commit 14c4e7c into scala-js:master Mar 25, 2014
@antonkulaga
Copy link
Contributor Author

thank you

Visbone pushed a commit to Visbone/scala-js-dom that referenced this pull request Mar 18, 2021
Update sbt-dotty version in README
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