Форк Rambox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
TheGoddessInari 1df5645d9e
Update electron to 13.5.1, and switch back to electron-contextmenu-wrapper.
4 years ago
..
model Revamp userAgent code for services. 5 years ago
store Update Mastodon instance list URL. 4 years ago
util Fix IconLoader to properly set title. No more duplicate icons (rambox bug). 4 years ago
ux Update electron to 13.5.1, and switch back to electron-contextmenu-wrapper. 4 years ago
view Re-align the Add Service dialogue and make it smaller by default again. 4 years ago
Application.js Escape title user inputs. Fix our version of CVE-2019-17625. 5 years ago
Readme.md Initial app 9 years ago

Readme.md

./controller

This folder contains the application's global controllers. ViewControllers are located alongside their respective view class in "./view". These controllers are used for routing and other activities that span all views.

./model

This folder contains the application's (data) Model classes.

./view

This folder contains the views as well as ViewModels and ViewControllers depending on the application's architecture. Pure MVC applications may not have ViewModels, for example. For MVCVM applications or MVC applications that use ViewControllers, the following directory structure is recommended:

./view/
    foo/                    # Some meaningful grouping of one or more views
        Foo.js              # The view class
        FooController.js    # The controller for Foo (a ViewController)
        FooModel.js         # The ViewModel for Foo

This structure helps keep these closely related classes together and easily identifiable in most tabbed IDE's or text editors.

./store

This folder contains any number of store instances or types that can then be reused in the application.