solved some bugs in our site.

This commit is contained in:
Reinier Zwitserloot committed 2017-10-26 00:09:15 +02:00
1 parent 6fc0cd736c
commit 70e7bc2f95
5 files changed
+19 -4

No files matched your search

+3 -1
View File
@@ -14,7 +14,7 @@
if (self.data("clc")) return;
var href = self.attr("href");
self.data("clc", true);
if (!href || href.substr(0, 4) === "http") return;
if (!href || href.substr(0, 4) === "http" || href === "/api/") return;
var ext = href.substr(href.length - 4, 4);
if (ext === ".xml" || ext === ".jar") return;
self.on("click", function(evt) {
@@ -63,6 +63,8 @@
$("#main-section").replaceWith(newH);
collapseMenu();
$("a").each(captureLinkClick);
}, error: function() {
window.location = u;
}
});
}
+1 -1
View File
@@ -62,7 +62,7 @@
</p><p>
You can annotate a class with a <code>@Getter</code> or <code>@Setter</code> annotation. Doing so is equivalent to annotating all non-static fields in that class with that annotation. <code>@Getter</code>/<code>@Setter</code> annotations on fields take precedence over the ones on classes.
</p><p>
Using the <code>AccessLevel.NONE</code> access level simply generates nothing. It's useful only in combination with <a href="features/Data"><code>@Data</code></a> or a class-wide <code>@Getter</code> or <code>@Setter</code>.
Using the <code>AccessLevel.NONE</code> access level simply generates nothing. It's useful only in combination with <a href="/features/Data"><code>@Data</code></a> or a class-wide <code>@Getter</code> or <code>@Setter</code>.
</p><p>
<code>@Getter</code> can also be used on enums. <code>@Setter</code> can't, not for a technical reason, but for a pragmatic one: Setters on enums are an extremely bad idea.
</p>
@@ -7,6 +7,8 @@
<@main.h1 title="Lombok experimental features" />
</div>
<div class="row">
The <a href="/api/">Lombok javadoc</a> is available, but we advise these pages.
<p>
Experimental features are available in your normal lombok installation, but are not as robustly supported as lombok's main features. In particular, experimental features:
<ul>
+7 -1
View File
@@ -3,9 +3,11 @@
<@main.scaffold>
<div class="page-header top5">
<div class="row text-center">
<@main.h1 title="Lombok features." />
<@main.h1 title="Lombok features" />
</div>
<div class="row">
The <a href="/api/">Lombok javadoc</a> is available, but we advise these pages.
<@main.feature title="val" href="val">
Finally! Hassle-free final local variables.
</@main.feature>
@@ -66,6 +68,10 @@
<@main.feature title="@Log" href="log">
Captain's Log, stardate 24435.7: &quot;What was that line again?&quot;
</@main.feature>
<@main.feature title="experimental" href="/features/experimental/all">
Head to the lab: The new stuff we're working on.
</@main.feature>
</div>
<div class="row">
+6 -1
View File
@@ -2,7 +2,12 @@
<@main.scaffold>
<div class="page-header top5">
<div class="row text-center">
<@main.h1 title="Lombok Demo" />
<@main.h1 title="Project Lombok" />
<p>
Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java.<br />
Never write another getter or equals method again. Early access to future java features such as <code>val</code>, and much more.<br />
Watch the 4 minute demo below to learn more!
</p>
</div>
<div class="video text-center">
<video width="800" height="480" poster="/img/poster.png" controls="controls" preload="none">