This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Jison generated parser */ | |
class Parser | |
{ | |
var $symbols_ = array(); | |
var $terminals_ = array(); | |
var $productions_ = array(); | |
var $table = array(); | |
var $defaultActions = array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo mkdir -p /opt/boxen | |
$ sudo chown ${USER}:staff /opt/boxen | |
$ git clone https://github.com/boxen/our-boxen /opt/boxen/repo | |
$ cd /opt/boxen/repo | |
$ git remote rm origin | |
$ git remote add origin git@github.com:heruan/our-boxen | |
$ git push -u origin master | |
$ script/boxen | |
Warning: Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts. | |
Boxen is up-to-date. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "John", | |
"age": 20 | |
}, | |
{ | |
"name": "Jack", | |
"age": 28 | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Entity | |
public class Company { | |
@Id | |
public Long id; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="./registration-form"></require> | |
<registration-form></registration-form> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "../valo/valo"; | |
.flexbox { | |
@include valo; | |
.v-layout, .v-slot { | |
display: flex; | |
flex-wrap: wrap; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.io.OutputStream; | |
import java.util.Iterator; | |
import java.util.function.Consumer; | |
import javax.servlet.http.HttpServletResponse; | |
import com.vaadin.server.Constants; | |
import com.vaadin.server.DownloadStream; | |
import com.vaadin.server.VaadinRequest; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/flow-html-components/src/test/java/com/vaadin/ui/html/ComponentProperty.java b/flow-html-components/src/test/java/com/vaadin/ui/html/ComponentProperty.java | |
index bd670982ff..c92bc10f41 100644 | |
--- a/flow-html-components/src/test/java/com/vaadin/ui/html/ComponentProperty.java | |
+++ b/flow-html-components/src/test/java/com/vaadin/ui/html/ComponentProperty.java | |
@@ -23,19 +23,20 @@ import com.vaadin.ui.Component; | |
public class ComponentProperty { | |
public String name; | |
- public Object defaultValue, otherValue; | |
+ public Object defaultValue, otherValue, clientDefault; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.function.Predicate; | |
import java.util.function.Supplier; | |
import java.util.stream.Stream; | |
import com.vaadin.data.provider.AbstractBackEndDataProvider; | |
import com.vaadin.data.provider.Query; | |
public class StreamDataProvider<T> extends AbstractBackEndDataProvider<T, Predicate<T>> { | |
private final Supplier<Stream<T>> streamSupplier; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Comparator; | |
import java.util.Optional; | |
import org.junit.jupiter.api.Assertions; | |
import org.junit.jupiter.api.Test; | |
public class CustomComparatorTest { | |
static class CustomComparator<T> implements Comparator<T> { |
OlderNewer