diff options
Diffstat (limited to 'static/js/client.js')
-rw-r--r-- | static/js/client.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/static/js/client.js b/static/js/client.js new file mode 100644 index 0000000..d782871 --- /dev/null +++ b/static/js/client.js @@ -0,0 +1,5 @@ +import { CommentsController} from "./comments/comments_controller.js"; + +const post = window.location.pathname; +const domain = window.location.hostname; +new CommentForm(domain, post); |