Skip to content

Commit

Permalink
Merge pull request #8 from usethesource/chore/update-to-latest-rascal
Browse files Browse the repository at this point in the history
Chore/update to latest rascal
  • Loading branch information
DavyLandman authored Aug 29, 2024
2 parents 74af646 + 80cb736 commit 7c39cd2
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 3 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<dependency>
<groupId>org.rascalmpl</groupId>
<artifactId>rascal</artifactId>
<version>0.34.0</version>
<version>0.40.7</version>
</dependency>
</dependencies>

Expand Down Expand Up @@ -71,9 +71,9 @@
<plugin>
<groupId>org.rascalmpl</groupId>
<artifactId>rascal-maven-plugin</artifactId>
<version>0.23.1</version>
<version>0.28.1</version>
<configuration>
<errorsAsWarnings>true</errorsAsWarnings>
<errorsAsWarnings>false</errorsAsWarnings>
<bin>${project.build.outputDirectory}</bin>
<srcs>
<src>${project.basedir}/src/main/rascal</src>
Expand Down Expand Up @@ -104,9 +104,6 @@
<enableStandardLibrary>true</enableStandardLibrary>
<errorsAsWarnings>false</errorsAsWarnings>
<bin>${project.build.outputDirectory}</bin>
<license>${project.basedir}/LICENSE</license>
<funding>${project.basedir}/FUNDING</funding>
<releaseNotes>${project.basedir}/RELEASE-NOTES</releaseNotes>
<sources>|http://github.com/usethesource/salix-core|</sources>
<issues>|http://github.com/usethesource/salix-core/issues|</issues>
<srcs>
Expand Down
6 changes: 2 additions & 4 deletions src/main/rascal/salix/HTML.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ Attr seamless(bool val) = attr("seamless", "<val>");
Attr srcdoc(str val) = attr("srcdoc", val);
Attr reversed(bool val) = attr("reversed", "<val>");
Attr \start(int val) = attr("start", "<val>");
Attr align(str val) = attr("align", val);
Attr colspan(int val) = attr("colspan", "<val>");
Attr rowspan(int val) = attr("rowspan", "<val>");
Attr headers(str val) = attr("headers", val);
Expand Down Expand Up @@ -254,7 +253,6 @@ Attr \datetime(str val) = attr("datetime", val);
Attr pubdate(str val) = attr("pubdate", val);
Attr manifest(str val) = attr("manifest", val);

Attr valign(str val) = attr("valign", val);
Attr cellpadding(str val) = attr("cellpadding", val);
Attr cellspacing(str val) = attr("cellspacing", val);

Expand Down Expand Up @@ -288,7 +286,7 @@ Attr onSubmit(Msg msg) = event("submit", succeed(msg));
Attr onBlur(Msg msg) = event("blur", succeed(msg));
Attr onFocus(Msg msg) = event("focus", succeed(msg));

Attr onCheck(Msg(bool) f) = event("change", targetChecked(f));
Attr onCheck(Msg(bool) f) = event("check", targetChecked(f));

Attr onInput(Msg(str) f) = event("input", targetValue(f));
Attr onInput(Msg(int) f) = event("input", targetInt(f));
Expand All @@ -298,7 +296,7 @@ Attr onChange(Msg(int) f) = event("change", targetInt(f));
Attr onChange(Msg(real) f) = event("change", targetReal(f));
Attr onChange(Msg(str) f) = event("change", targetValue(f));

Attr onCheck(Msg(bool) f) = event("check", targetChecked(f));
Attr onChange(Msg(bool) f) = event("change", targetChecked(f));

@doc{Smart constructors for constructing encoded event decoders.}
Hnd succeed(Msg msg) = handler("succeed", encode(msg));
Expand Down

0 comments on commit 7c39cd2

Please sign in to comment.