-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Weather, settings, and nicer collapsible behavior
- Loading branch information
Showing
6 changed files
with
77 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
export default () => ({ | ||
reordering: false, | ||
import CollapsibleComponent from "./collapsible_component.js"; | ||
|
||
load: function(static_data) { | ||
// | ||
} | ||
}) | ||
class SettingsCollapsible extends CollapsibleComponent { | ||
|
||
settings = {} | ||
|
||
loads = { | ||
"settings": "settings" | ||
}; | ||
|
||
setters = { | ||
"settings": "settings" | ||
}; | ||
|
||
} | ||
|
||
export default () => new SettingsCollapsible(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
export default () => ({ | ||
reordering: false, | ||
import CollapsibleComponent from "./collapsible_component.js"; | ||
|
||
load: function(static_data) { | ||
// | ||
} | ||
}) | ||
class WeatherCollapsible extends CollapsibleComponent { | ||
|
||
weather = {}; | ||
|
||
loads = { | ||
"weather": "seasons.global_settings" | ||
}; | ||
|
||
setters = { | ||
"weather": "seasons.global_settings" | ||
}; | ||
|
||
} | ||
|
||
export default () => new WeatherCollapsible(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters