From 8e11c19bed6b99b5476d9d7a6125dcfdd4119064 Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Fri, 7 Oct 2016 23:06:10 +0800
Subject: Move out script tag and use js instead
---
public/views/foot.ejs | 55 ++-------------------------------------------------
1 file changed, 2 insertions(+), 53 deletions(-)
(limited to 'public/views')
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index 9328ac9c..128302f4 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -14,65 +14,15 @@
<% } else { %>
-
-
-
<% } %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
@@ -81,4 +31,3 @@
-
\ No newline at end of file
--
cgit v1.2.3
From ebee5a8d05a0282f5f584abc7d1eaa26d9d17ad8 Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Sat, 8 Oct 2016 19:56:38 +0800
Subject: Use xss in script tag
---
public/views/foot.ejs | 1 +
1 file changed, 1 insertion(+)
(limited to 'public/views')
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index 128302f4..a530eff1 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -22,6 +22,7 @@
<% } %>
+
--
cgit v1.2.3
From 963a435ae1e9248b42b4665acf106dcffa549678 Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Sat, 8 Oct 2016 20:02:30 +0800
Subject: Resolve dependency module requiring
* es5 style module exports
* remove script tag require
* webpack config ProvidePlugin
Note that this commit only fix JavaScript module loading runtime error.
---
public/views/foot.ejs | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
(limited to 'public/views')
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index a530eff1..759962de 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -22,13 +22,12 @@
<% } %>
+
+
+
+
-
-
-
-
-
--
cgit v1.2.3
From 845e9342c5b12638abcd6aa5cf96c9ce87762e9f Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Sun, 9 Oct 2016 07:54:52 +0800
Subject: Add highlight.js and prism styles
---
public/views/head.ejs | 3 ---
1 file changed, 3 deletions(-)
(limited to 'public/views')
diff --git a/public/views/head.ejs b/public/views/head.ejs
index 5d8e44b6..6890ddf3 100644
--- a/public/views/head.ejs
+++ b/public/views/head.ejs
@@ -14,7 +14,6 @@
<% } else { %>
-
@@ -33,8 +32,6 @@
-
-
--
cgit v1.2.3
From 7e6b9f776ff18e77425bafaed76ede70fe712189 Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Sun, 9 Oct 2016 08:15:23 +0800
Subject: Revert customized ot library and fix dependency
---
public/views/foot.ejs | 2 ++
1 file changed, 2 insertions(+)
(limited to 'public/views')
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index 759962de..13805753 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -26,6 +26,8 @@
+
+
--
cgit v1.2.3
From 3e2905be13551a0cceeb18e72242be891db10db7 Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Sun, 9 Oct 2016 17:54:51 +0800
Subject: Revert to customized codemirror
---
public/views/foot.ejs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'public/views')
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index 13805753..0ad10546 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -22,11 +22,13 @@
<% } %>
+
+
+
-
-
+
--
cgit v1.2.3
From d0997ed0c18de0f17ea2f9435558f88e3f0fdd1c Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Sun, 9 Oct 2016 18:08:46 +0800
Subject: Config TextExtract plugin and change build folder
---
public/views/foot.ejs | 2 +-
public/views/head.ejs | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
(limited to 'public/views')
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index 0ad10546..7df96b58 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -31,7 +31,7 @@
-
+
diff --git a/public/views/head.ejs b/public/views/head.ejs
index 6890ddf3..2aa85689 100644
--- a/public/views/head.ejs
+++ b/public/views/head.ejs
@@ -36,6 +36,7 @@
+
--
cgit v1.2.3
From 53b5cbb89325f4acb239afb188c4bbabe1ea8189 Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Sun, 9 Oct 2016 21:09:22 +0800
Subject: Finish public note view js loading
---
public/views/pretty.ejs | 42 +++++-------------------------------------
1 file changed, 5 insertions(+), 37 deletions(-)
(limited to 'public/views')
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index 2546b1ac..d6533a1f 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -23,21 +23,19 @@
<% } else { %>
-
<% } %>
-
-
+
@@ -30,7 +30,7 @@
-
+
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index d6533a1f..02908817 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -96,8 +96,8 @@
<% } %>
-
-
+
+
--
cgit v1.2.3
From 70c20aaddaff75c3d0b7eb0fd53da13bb5651387 Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Sun, 9 Oct 2016 21:47:29 +0800
Subject: Remove redundant entry point
---
public/views/foot.ejs | 2 +-
public/views/head.ejs | 2 +-
public/views/pretty.ejs | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'public/views')
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index 7103b323..150214f4 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -31,7 +31,7 @@
-
+
diff --git a/public/views/head.ejs b/public/views/head.ejs
index 2aa85689..72434892 100644
--- a/public/views/head.ejs
+++ b/public/views/head.ejs
@@ -36,7 +36,7 @@
-
+
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index 02908817..6b1096bb 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -35,7 +35,7 @@
-
+
diff --git a/public/views/index.ejs b/public/views/index.ejs
index 04a401a4..79ee5ddc 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -193,9 +193,8 @@
<% } else { %>
-
+
-
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index 6b1096bb..346cb272 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -90,7 +90,7 @@
<% } else { %>
-
+
diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index 1549989f..8c248917 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -87,7 +87,7 @@
<% } else { %>
-
+
--
cgit v1.2.3
From 06437ccaa995afc48e30154c136c4e485ac04ae7 Mon Sep 17 00:00:00 2001
From: Yukai Huang
Date: Tue, 11 Oct 2016 14:52:45 +0800
Subject: Manage more packages with npm and webpack
---
public/views/foot.ejs | 3 ---
public/views/index.ejs | 8 +-------
public/views/pretty.ejs | 2 --
public/views/slide.ejs | 1 -
4 files changed, 1 insertion(+), 13 deletions(-)
(limited to 'public/views')
diff --git a/public/views/foot.ejs b/public/views/foot.ejs
index 9ce320bc..4a9b1756 100644
--- a/public/views/foot.ejs
+++ b/public/views/foot.ejs
@@ -15,14 +15,12 @@
<% } else { %>
-
<% } %>
-
@@ -30,7 +28,6 @@
-
diff --git a/public/views/index.ejs b/public/views/index.ejs
index 79ee5ddc..c7bea341 100644
--- a/public/views/index.ejs
+++ b/public/views/index.ejs
@@ -185,6 +185,7 @@
+
<% if(useCDN) { %>
@@ -193,17 +194,10 @@
<% } else { %>
-
-
<% } %>
-
-
-
-
-