Temporary workaround for . Identifying ageRange. Made poll header slightly smaller.

This commit is contained in:
Nick Winter 2015-03-11 20:21:45 -07:00
parent 2a2a187467
commit 3458f2069b
4 changed files with 4 additions and 4 deletions
app
core
styles/play/modal
templates/play/modal
views/play/level/tome

View file

@ -34,7 +34,7 @@ module.exports = class Tracker
@explicitTraits ?= {}
@explicitTraits[key] = value for key, value of traits
for userTrait in ['email', 'anonymous', 'dateCreated', 'name', 'testGroupNumber', 'gender', 'lastLevel', 'siteref']
for userTrait in ['email', 'anonymous', 'dateCreated', 'name', 'testGroupNumber', 'gender', 'lastLevel', 'siteref', 'ageRange']
traits[userTrait] ?= me.get(userTrait)
console.log 'Would identify', traits if debugAnalytics
return unless @isProduction and not me.isAdmin()

View file

@ -50,7 +50,7 @@
width: 380px
text-align: center
color: rgb(254,188,68)
font-size: 32px
font-size: 28px
text-shadow: black 2px 2px 0, black -2px -2px 0, black 2px -2px 0, black -2px 2px 0, black 2px 0px 0, black 0px -2px 0, black -2px 0px 0, black 0px 2px 0
//- Body

View file

@ -1,8 +1,6 @@
extends /templates/core/modal-base
block modal-header-content
h1
span(data-i18n="play.poll") Poll
span.spr :
span= i18n(poll.attributes, "name")
block modal-body-content

View file

@ -265,6 +265,7 @@ module.exports = class SpellView extends CocoView
if not lockDefaultCode or (_.isNumber(lockDefaultCode) and lockDefaultCode < me.level())
return
return unless @spell.source is @spell.originalSource or force
return if @isIE() # Temporary workaround for #2512
console.info 'Locking down default code.'
@ -800,6 +801,7 @@ module.exports = class SpellView extends CocoView
preload: ->
# Send this code over to the God for preloading, but don't change the cast state.
return if @spell.source.indexOf 'while' # If they're working with while-loops, it's more likely to be an incomplete infinite loop, so don't preload.
oldSource = @spell.source
oldSpellThangAethers = {}
for thangID, spellThang of @spell.thangs