Skip to content
Permalink
Browse files

Initial implementation of prerenderer (extracted from http://tools.sc…

  • Loading branch information...
pupeno committed Sep 20, 2015
0 parents commit f0fabf6abc6efc1e55960d3df05338c11b616a90
Showing with 833 additions and 0 deletions.
  1. +18 −0 .gitignore
  2. +1 −0 .idea/.name
  3. +24 −0 .idea/compiler.xml
  4. +6 −0 .idea/copyright/Carousel_Apps.xml
  5. +3 −0 .idea/copyright/profiles_settings.xml
  6. +9 −0 .idea/libraries/Leiningen__args4j_2_0_26.xml
  7. +9 −0 .idea/libraries/Leiningen__clj_http_2_0_0.xml
  8. +9 −0 .idea/libraries/Leiningen__clj_tuple_0_2_2.xml
  9. +9 −0 .idea/libraries/Leiningen__clojure_complete_0_2_3.xml
  10. +9 −0 .idea/libraries/Leiningen__com_google_code_findbugs_jsr305_1_3_9.xml
  11. +9 −0 .idea/libraries/Leiningen__com_google_code_gson_gson_2_2_4.xml
  12. +9 −0 .idea/libraries/Leiningen__com_google_guava_guava_18_0.xml
  13. +9 −0 .idea/libraries/Leiningen__com_google_javascript_closure_compiler_externs_v20150729.xml
  14. +9 −0 .idea/libraries/Leiningen__com_google_javascript_closure_compiler_v20150729.xml
  15. +9 −0 .idea/libraries/Leiningen__com_google_protobuf_protobuf_java_2_5_0.xml
  16. +9 −0 .idea/libraries/Leiningen__commons_codec_1_10.xml
  17. +9 −0 .idea/libraries/Leiningen__commons_io_2_4.xml
  18. +9 −0 .idea/libraries/Leiningen__commons_logging_1_2.xml
  19. +9 −0 .idea/libraries/Leiningen__org_apache_httpcomponents_httpclient_4_5.xml
  20. +9 −0 .idea/libraries/Leiningen__org_apache_httpcomponents_httpcore_4_4_1.xml
  21. +9 −0 .idea/libraries/Leiningen__org_apache_httpcomponents_httpmime_4_5.xml
  22. +9 −0 .idea/libraries/Leiningen__org_clojure_clojure_1_6_0.xml
  23. +9 −0 .idea/libraries/Leiningen__org_clojure_clojurescript_1_7_48.xml
  24. +9 −0 .idea/libraries/Leiningen__org_clojure_data_json_0_2_6.xml
  25. +9 −0 .idea/libraries/Leiningen__org_clojure_google_closure_library_0_0_20150805_acd8b553.xml
  26. +9 −0 .idea/libraries/Leiningen__org_clojure_google_closure_library_third_party_0_0_20150805_acd8b553.xml
  27. +9 −0 .idea/libraries/Leiningen__org_clojure_tools_cli_0_3_3.xml
  28. +9 −0 .idea/libraries/Leiningen__org_clojure_tools_nrepl_0_2_6.xml
  29. +9 −0 .idea/libraries/Leiningen__org_clojure_tools_reader_0_10_0_alpha3.xml
  30. +9 −0 .idea/libraries/Leiningen__org_mozilla_rhino_1_7R5.xml
  31. +9 −0 .idea/libraries/Leiningen__potemkin_0_4_1.xml
  32. +9 −0 .idea/libraries/Leiningen__riddley_0_1_10.xml
  33. +9 −0 .idea/libraries/Leiningen__slingshot_0_12_2.xml
  34. +23 −0 .idea/misc.xml
  35. +8 −0 .idea/modules.xml
  36. +6 −0 .idea/vcs.xml
  37. +214 −0 LICENSE
  38. +14 −0 README.md
  39. +47 −0 prerenderer.iml
  40. +23 −0 project.clj
  41. +89 −0 src/clj/prerenderer/core.clj
  42. +65 −0 src/cljs/prerenderer/core.cljs
  43. +22 −0 src/cljs/prerenderer/re_frame.cljs
  44. +9 −0 test/clj/prerenderer/core_test.clj
  45. +9 −0 test/cljs/prerenderer/core_test.cljs
@@ -0,0 +1,18 @@
/target
/classes
/checkouts
pom.xml
pom.xml.asc
*.jar
*.class
/.lein-*
/.nrepl-port
.hgignore
.hg/

# IntelliJ https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore
.idea/workspace.xml
.idea/tasks.xml
.idea/dictionaries

node_modules
@@ -0,0 +1 @@
prerenderer
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!dev-resources:*" />
<entry name="!resources:*" />
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scala" />
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
<entry name="!?*.aj" />
</wildcardResourcePatterns>
<annotationProcessing>
<profile default="true" name="Default" enabled="false">
<processorPath useClasspath="true" />
</profile>
</annotationProcessing>
</component>
</project>
@@ -0,0 +1,6 @@
<component name="CopyrightManager">
<copyright>
<option name="myName" value="Carousel Apps" />
<option name="notice" value="Copyright © &amp;#36;today.year Carousel Apps, Ltd. All rights reserved." />
</copyright>
</component>
@@ -0,0 +1,3 @@
<component name="CopyrightManager">
<settings default="" />
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: args4j:2.0.26">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/args4j/args4j/2.0.26/args4j-2.0.26.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: clj-http:2.0.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/clj-http/clj-http/2.0.0/clj-http-2.0.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: clj-tuple:0.2.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/clj-tuple/clj-tuple/0.2.2/clj-tuple-0.2.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: clojure-complete:0.2.3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/clojure-complete/clojure-complete/0.2.3/clojure-complete-0.2.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: com.google.code.findbugs/jsr305:1.3.9">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: com.google.code.gson/gson:2.2.4">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: com.google.guava/guava:18.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/18.0/guava-18.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: com.google.javascript/closure-compiler-externs:v20150729">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/javascript/closure-compiler-externs/v20150729/closure-compiler-externs-v20150729.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: com.google.javascript/closure-compiler:v20150729">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/javascript/closure-compiler/v20150729/closure-compiler-v20150729.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: com.google.protobuf/protobuf-java:2.5.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: commons-codec:1.10">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.10/commons-codec-1.10.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: commons-io:2.4">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.4/commons-io-2.4.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: commons-logging:1.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.2/commons-logging-1.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.apache.httpcomponents/httpclient:4.5">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.5/httpclient-4.5.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.apache.httpcomponents/httpcore:4.4.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.4.1/httpcore-4.4.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.apache.httpcomponents/httpmime:4.5">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpmime/4.5/httpmime-4.5.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.clojure/clojure:1.6.0">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/clojure/clojure/1.6.0/clojure-1.6.0.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.clojure/clojurescript:1.7.48">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/clojure/clojurescript/1.7.48/clojurescript-1.7.48.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.clojure/data.json:0.2.6">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/clojure/data.json/0.2.6/data.json-0.2.6.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.clojure/google-closure-library:0.0-20150805-acd8b553">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/clojure/google-closure-library/0.0-20150805-acd8b553/google-closure-library-0.0-20150805-acd8b553.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.clojure/google-closure-library-third-party:0.0-20150805-acd8b553">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/clojure/google-closure-library-third-party/0.0-20150805-acd8b553/google-closure-library-third-party-0.0-20150805-acd8b553.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.clojure/tools.cli:0.3.3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/clojure/tools.cli/0.3.3/tools.cli-0.3.3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.clojure/tools.nrepl:0.2.6">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/clojure/tools.nrepl/0.2.6/tools.nrepl-0.2.6.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.clojure/tools.reader:0.10.0-alpha3">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/clojure/tools.reader/0.10.0-alpha3/tools.reader-0.10.0-alpha3.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: org.mozilla/rhino:1.7R5">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/mozilla/rhino/1.7R5/rhino-1.7R5.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: potemkin:0.4.1">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/potemkin/potemkin/0.4.1/potemkin-0.4.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: riddley:0.1.10">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/riddley/riddley/0.1.10/riddley-0.1.10.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="Leiningen: slingshot:0.12.2">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/slingshot/slingshot/0.12.2/slingshot-0.12.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="LeiningenProjectsManager">
<option name="projectFiles">
<list>
<option value="file://$PROJECT_DIR$/project.clj" />
</list>
</option>
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Update" />
<OptionsSetting value="true" id="Status" />
<OptionsSetting value="true" id="Edit" />
<ConfirmationsSetting value="0" id="Add" />
<ConfirmationsSetting value="0" id="Remove" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" default="false" assert-keyword="true" jdk-15="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/classes" />
</component>
</project>

0 comments on commit f0fabf6

Please sign in to comment.
You can’t perform that action at this time.