Skip to content

Commit

Permalink
Proper Post class
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Jan 11, 2025
1 parent 7b9c290 commit 73a1590
Show file tree
Hide file tree
Showing 3 changed files with 218 additions and 262 deletions.
2 changes: 0 additions & 2 deletions app/javascript/application.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ import 'src/post'
import 'src/vote'

import 'src/legacy/common'
import 'src/legacy/post'

import 'src/boot'
2 changes: 2 additions & 0 deletions app/javascript/src/boot.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import Note from './classes/note'
import NotesManager from './classes/notes_manager'
import Notice from './classes/notice'
import Pool from './classes/pool'
import Post from './classes/post'
import PostLoader from './classes/post_loader'
import PostModeMenu from './classes/post_mode_menu'
import PostQuickEdit from './classes/post_quick_edit'
Expand Down Expand Up @@ -44,6 +45,7 @@ Rails.start()
window.History = new History
window.InlineImage = new InlineImage
window.Pool = new Pool
window.Post = new Post
window.PostModeMenu = new PostModeMenu
window.TagCompletion = new TagCompletion
window.TagScript = new TagScript
Expand Down
Loading

0 comments on commit 73a1590

Please sign in to comment.