mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 23:40:25 +00:00
Revert "deploying in process.env.NODE_ENV='development' until we can fix #840"
This reverts commit 6aba44c43d.
This commit is contained in:
parent
8aee3c7446
commit
2a78fb5ea9
3 changed files with 3 additions and 3 deletions
|
|
@ -200,7 +200,7 @@ module.exports.resetDom = (model) ->
|
|||
# syncronous requires up top are what benefit the most from this file.
|
||||
|
||||
googleAnalytics = (model) ->
|
||||
#if model.flags.nodeEnv is 'production'
|
||||
if model.flags.nodeEnv is 'production'
|
||||
window._gaq = [["_setAccount", "UA-33510635-1"], ["_setDomainName", "habitrpg.com"], ["_trackPageview"]]
|
||||
$.getScript ((if "https:" is document.location.protocol then "https://ssl" else "http://www")) + ".google-analytics.com/ga.js"
|
||||
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ ready (model) ->
|
|||
require('./profile').app(exports, model)
|
||||
require('./pets').app(exports, model)
|
||||
require('../server/private').app(exports, model)
|
||||
#require('./debug').app(exports, model) if model.flags.nodeEnv != 'production'
|
||||
require('./debug').app(exports, model) if model.flags.nodeEnv != 'production'
|
||||
require('./browser').app(exports, model, app)
|
||||
require('./unlock').app(exports, model)
|
||||
require('./filters').app(exports, model)
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
</div>
|
||||
|
||||
<div class='span3'>
|
||||
{{#if equal(_nodeEnv, 'test')}}
|
||||
{{#if equal(_nodeEnv, 'development')}}
|
||||
<h4>Cheat</h4>
|
||||
<ul class='unstyled'>
|
||||
<li><button class='btn' x-bind="click:emulateNextDay">Emulate Next Day</button></li>
|
||||
|
|
|
|||
Loading…
Reference in a new issue