mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-14 16:02:14 +00:00
move app-creation below library components #864
This commit is contained in:
parent
86253018a7
commit
8ae5716f40
1 changed files with 5 additions and 2 deletions
|
|
@ -1,11 +1,14 @@
|
|||
derby = require 'derby'
|
||||
app = derby.createApp module
|
||||
|
||||
{get, view, ready} = app
|
||||
# Include library components
|
||||
derby.use require('derby-ui-boot'), {styles: []}
|
||||
derby.use require '../../ui'
|
||||
derby.use require 'derby-auth/components'
|
||||
|
||||
# Init app & reference its functions
|
||||
app = derby.createApp module
|
||||
{get, view, ready} = app
|
||||
|
||||
# Translations
|
||||
i18n = require './i18n'
|
||||
i18n.localize app,
|
||||
|
|
|
|||
Loading…
Reference in a new issue