mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-25 22:55:55 -05:00
58152e8d94
* Major refactoring of UI code, small UI changes. * Single file index.js split up into separate modules * Modules for handling UI view components * Modules for handling JSON/Model data * Modules for support tasks * Module to encapsulate Moonfire API * Main application module * index.js simplified to just activating main app * Settings file functionality expanded * UI adds "Time Format" popup to allow changing time representation * CSS changes/additions to streamline looks * Recordings loading indicator only appears after 500ms delay, if at all * Address first set of PR change requests from Scott. * Add copyright headers to all files (except JSON files) * Fix bug with entering time values in range pickers * Fixed an erroneous comment and/or spelling error here and there * Fixed JSDoc comments where [description] was not filled in * Removed a TODO from NVRApplication as it no longer applies * Fixed bug handling "infinite" case of video segment lengths * Fixed bug in "trim" handler and trim execution * Retrofit video continues loading from separate PR Signed-off-by: Dolf Starreveld <dolf@starreveld.com> * Address PR comments Signed-off-by: Dolf Starreveld <dolf@starreveld.com> * Address PR comments Signed-off-by: Dolf Starreveld <dolf@starreveld.com>
38 lines
954 B
JSON
38 lines
954 B
JSON
{
|
|
"printWidth": 80,
|
|
"singleQuote": false,
|
|
"trailingComma": "none",
|
|
"bracketSpacing": true,
|
|
"jsxBracketSameLine": false,
|
|
"parser": "babylon",
|
|
"semi": true,
|
|
"requirePragma": false,
|
|
"proseWrap": "preserve",
|
|
"arrowParens": "avoid",
|
|
"tabWidth": 4,
|
|
"overrides": [
|
|
{
|
|
"files": ["*.js"],
|
|
"options": {
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"trailingComma": "es5",
|
|
"bracketSpacing": true,
|
|
"semi": true,
|
|
"arrowParens": "always"
|
|
}
|
|
},
|
|
{
|
|
"files": ["*.json", "moonfire.sublime-project"],
|
|
"options": {
|
|
"parser": "json",
|
|
"tabWidth": 4,
|
|
"useTabs": false,
|
|
"singleQuote": false,
|
|
"trailingComma": "none"
|
|
}
|
|
}
|
|
]
|
|
}
|