This file contains hidden or 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
@Slf4j | |
public class Test { | |
private final InetAddress machineAddress; | |
private MulticastSocket multicastSocket; | |
private InetAddress group; | |
public static void main(String[] args) { | |
Test test = new Test("tap0"); | |
test.test(); |
This file contains hidden or 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
package org.licket.demo.retrofit; | |
import okhttp3.Call; | |
import okhttp3.Callback; | |
import okhttp3.Headers; | |
import okhttp3.Protocol; | |
import okhttp3.Request; | |
import okhttp3.Response; | |
import okhttp3.internal.http.RealResponseBody; | |
import okio.Buffer; |
This file contains hidden or 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
package org.licket.core.view.hippo.vue.extend; | |
import org.licket.core.module.application.LicketRemote; | |
import org.licket.core.view.LicketComponent; | |
import org.licket.core.view.hippo.vue.annotation.LicketMountPoint; | |
import org.licket.framework.hippo.FunctionNodeBuilder; | |
import org.licket.framework.hippo.ObjectLiteralBuilder; | |
import static org.licket.framework.hippo.BlockBuilder.block; | |
import static org.licket.framework.hippo.ExpressionStatementBuilder.expressionStatement; |
This file contains hidden or 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
<%-- | |
/** | |
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. | |
* | |
* The contents of this file are subject to the terms of the Liferay Enterprise | |
* Subscription License ("License"). You may not use this file except in | |
* compliance with the License. You can obtain a copy of the License by | |
* contacting Liferay, Inc. See the License for the specific language governing | |
* permissions and limitations under the License, including but not limited to | |
* distribution rights of the Software. |
This file contains hidden or 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
(function(app) { | |
app.instance = new Vue({ | |
el: "#contacts-page", | |
components: { | |
"contacts-page": { | |
template: "\n <div>\n <h1 class=\"ui center aligned header\">Contacts list</h1>\n\n <add-contact-panel ref=\"add-contact-panel\"></add-contact-panel>\n\n <contacts-panel ref=\"contacts-panel\"></contacts-panel>\n </div>\n ", | |
data: function() { | |
return { | |
model: {} | |
}; |
This file contains hidden or 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
(function(app) { | |
app.AppModule = function (Vue, options) { | |
Object.defineProperties(Vue.prototype, { | |
$licketRemote: { | |
get: function () { | |
return { | |
handleActionLinkClick: function($linkCompositeId, $callback) { | |
$callback(); | |
}, |
This file contains hidden or 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": "licket-angular2-libraries", | |
"version": "0.0.1-SNAPSHOT", | |
"repository": "https://github.com/activey/licket.git", | |
"license": "Apache2", | |
"dependencies": { | |
"@angular/core": "~2.0.0", | |
"@angular/common": "~2.0.0", | |
"@angular/compiler": "~2.0.0", | |
"@angular/platform-browser": "~2.0.0", |
This file contains hidden or 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
(function(app) { | |
app.ContactsPage_ContactsPanel = ng.core.Component({ | |
selector: "contacts-panel", | |
templateUrl: "/licket/component/contacts-page:contacts-panel/view" | |
}).Class({ | |
constructor: function() { | |
this.model = { | |
contacts: [{ | |
pictureUrl: "picture1.jpg", | |
name: "Andrew Golota", |
This file contains hidden or 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
(function(app) { | |
app.ContactsPage = ng.core.Component({ | |
selector: "contacts-page", | |
templateUrl: "/licket/component/contacts-page/view" | |
}).Class({ | |
constructor: function() { | |
this.model = { | |
"value": null | |
} | |
} |
This file contains hidden or 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
(function(app) { | |
document.addEventListener("DOMContentLoaded", function() { | |
ng.platform.browser.bootstrap(app.TodosComponent) | |
}); | |
})(window.app || (window.app = {})); |
NewerOlder