You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 12, 2019. It is now read-only.
// bad examplefunctionMyFunction(){...}// good examplefunctionmyFunction(){...}
Variables
Variables with multiple words should always use an underscore between words.
Confusing variable names should end with the variable type.
No Abbreviations
// bad examplevardeliveryNote=1;// good examplevardelivery_note=1;
To use camelCase, when sometimes it is impossible to declare a function directly, the function variable name should match some patterns which shows that it is a function.
// good examplevardoSomethingFunction=function(){ ... };// orvartool={"doSomething": function(){ ... }};// bad examplevardoSomething=function(){ ... };
Database related
All of the variables store information grabbed from the database (Settings) should end with _data
Example:
all_comic_data: store all of the comic data from the database
comic_data : store one comic data from the database
MVVM
ViewModel
filename should be *-viewmodel.js and put under ./renderer-process/viewmodels/
ViewController
filename shouldbe *-viewcontroller.js and put under ./renderer-process/viewcontrollers
No description provided.
The text was updated successfully, but these errors were encountered: