Форк 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 249264e90f
Matrix is rebranding Riot to Element and plans to shut down Riot "within a few weeks".
5 years ago
..
model Revamp userAgent code for services. 5 years ago
store Matrix is rebranding Riot to Element and plans to shut down Riot "within a few weeks". 5 years ago
util Fix Slack Icon after Redesign 5 years ago
ux Fix User Agent overrides for Google properties. 5 years ago
view Escape title user inputs. Fix our version of CVE-2019-17625. 5 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.