mirror of
https://github.com/wassname/talk.git
synced 2026-10-04 13:10:23 +08:00
[CORL-181] Comment Count Injection (#2581)
* feat: inject comment counts * fix: tests * feat: integrate stream embed with coral counts * chore: refactor constants * test: test for count bundle * test: test live comment count integration with stream embed * feat: use defer * fix: snapshot * feat: auto add count.js in when calling Coral.createStreamEmbed * fix: tests * fix: rm duplicate test * chore: remove unuse file
This commit is contained in:
1 parent
53fa5f43e5
commit
808b355a27
48 files changed
+888
-50
No files matched your search
@@ -1,5 +0,0 @@
|
||||
export default function getLocationOrigin() {
|
||||
return (
|
||||
location.origin || `${window.location.protocol}//${window.location.host}`
|
||||
);
|
||||
}
|
||||
@@ -8,4 +8,3 @@ export { default as ensureNoEndSlash } from "./ensureNoEndSlash";
|
||||
export { default as parseQuery } from "./parseQuery";
|
||||
export { default as stringifyQuery } from "./stringifyQuery";
|
||||
export { default as pureMerge } from "./pureMerge";
|
||||
export { default as getLocationOrigin } from "./getLocationOrigin";
|
||||
Reference in new issue
Block a user