mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-02 04:00:36 +00:00
build, export moment & lodash as helpers (to be used in $rootScope)
This commit is contained in:
parent
3a2edb6539
commit
4547417d62
3 changed files with 930 additions and 265 deletions
1178
dist/habitrpg-shared.js
vendored
1178
dist/habitrpg-shared.js
vendored
File diff suppressed because it is too large
Load diff
2
dist/spritesheets.css
vendored
2
dist/spritesheets.css
vendored
File diff suppressed because one or more lines are too long
|
|
@ -53,6 +53,16 @@ uuid = ->
|
|||
|
||||
module.exports =
|
||||
|
||||
###
|
||||
Moment
|
||||
###
|
||||
moment: moment
|
||||
|
||||
###
|
||||
Lodash
|
||||
###
|
||||
_: _
|
||||
|
||||
uuid: uuid
|
||||
|
||||
taskDefaults: (task, filters={}) ->
|
||||
|
|
@ -297,10 +307,7 @@ module.exports =
|
|||
return false unless messages?.length > 0
|
||||
messages?[0] and (messages[0].id != lastMessageSeen)
|
||||
|
||||
###
|
||||
MomentJS
|
||||
###
|
||||
moment: moment
|
||||
|
||||
|
||||
###
|
||||
are any tags active?
|
||||
|
|
|
|||
Loading…
Reference in a new issue