-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#8 - finished migrating to vue.js ;DD
- Loading branch information
Showing
38 changed files
with
235 additions
and
519 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
31 changes: 31 additions & 0 deletions
31
...rc/main/java/org/licket/core/module/application/resource/ApplicationEventHubResource.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package org.licket.core.module.application.resource; | ||
|
||
import org.licket.core.resource.HeadParticipatingResource; | ||
import org.licket.core.resource.javascript.AbstractJavascriptDynamicResource; | ||
import org.licket.framework.hippo.*; | ||
|
||
import static org.licket.framework.hippo.AssignmentBuilder.assignment; | ||
import static org.licket.framework.hippo.ExpressionStatementBuilder.expressionStatement; | ||
import static org.licket.framework.hippo.NameBuilder.name; | ||
import static org.licket.framework.hippo.NewExpressionBuilder.newExpression; | ||
import static org.licket.framework.hippo.PropertyNameBuilder.property; | ||
|
||
/** | ||
* @author activey | ||
*/ | ||
public class ApplicationEventHubResource extends AbstractJavascriptDynamicResource implements HeadParticipatingResource { | ||
|
||
@Override | ||
public String getName() { | ||
return "application-event-hub.js"; | ||
} | ||
|
||
@Override | ||
protected void buildJavascriptTree(BlockBuilder scriptBlockBuilder) { | ||
scriptBlockBuilder.appendStatement(expressionStatement( | ||
assignment() | ||
.left(property("app", "ApplicationEventHub")) | ||
.right(newExpression().target(name("Vue"))) | ||
)); | ||
} | ||
} |
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
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
17 changes: 0 additions & 17 deletions
17
licket-framework/src/main/java/org/licket/core/module/resource/ResourcePlugin.java
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
...urce/resource/ResourcePluginResource.java → ...dule/resource/ResourcePluginResource.java
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
Oops, something went wrong.