Removed some logging messages
This commit is contained in:
parent
16ac69171d
commit
ab072543d2
|
@ -82,7 +82,6 @@ class @challengePaneObject
|
|||
# Implement finding battle/challenging
|
||||
$button.on 'click.challenge', ->
|
||||
thisChallenge = _.find($PaneArray, (butt) -> butt.button.selector is $button.selector)
|
||||
console.log(thisChallenge)
|
||||
# Start requesting for notify permission here
|
||||
PokeBattle.requestNotifyPermission()
|
||||
format = $selectFormat.data('format')
|
||||
|
|
|
@ -26,13 +26,11 @@ each team in [ yourTeam, opponentTeam ]
|
|||
else
|
||||
- var hasbeeninbattle = origpkmn.get('beeninbattle')
|
||||
if hasbeeninbattle == true
|
||||
- console.log('hasbeeninbattle')
|
||||
a.pokemon_icon(href=window.PokemonIconBackground(origpkmn), target="_blank", class = faintClass, style = style, data-team = teamIndex, data-slot = i)
|
||||
if !origpkmn.isFainted()
|
||||
.pokemon_hp_background
|
||||
.pokemon_hp(style="height: " + (origpkmn.getSpecies().id) + "%", class=origpkmn.getHPColor())
|
||||
else
|
||||
- console.log('hasnoybeeninbattle')
|
||||
- var newstyle = "background:url('../Sprites/Icons/iconempty.png')!important; background-size: cover!important;"
|
||||
a.pokemon_icon(href="", target="_blank", class = faintClass, style = newstyle, data-team = teamIndex, data-slot = i)
|
||||
if !origpkmn.isFainted()
|
||||
|
|
|
@ -7575,7 +7575,6 @@
|
|||
thisChallenge = _.find($PaneArray, function(butt) {
|
||||
return butt.button.selector === $button.selector;
|
||||
});
|
||||
console.log(thisChallenge);
|
||||
PokeBattle.requestNotifyPermission();
|
||||
format = $selectFormat.data('format');
|
||||
if (typeof format === "undefined" && typeof personId === "undefined") {
|
||||
|
|
|
@ -5307,7 +5307,6 @@
|
|||
thisChallenge = _.find($PaneArray, function(butt) {
|
||||
return butt.button.selector === $button.selector;
|
||||
});
|
||||
console.log(thisChallenge);
|
||||
PokeBattle.requestNotifyPermission();
|
||||
format = $selectFormat.data('format');
|
||||
if (typeof format === "undefined" && typeof personId === "undefined") {
|
||||
|
|
|
@ -407,7 +407,6 @@ else
|
|||
var hasbeeninbattle = origpkmn.get('beeninbattle')
|
||||
if ( hasbeeninbattle == true)
|
||||
{
|
||||
console.log('hasbeeninbattle')
|
||||
buf.push("<a" + (jade.attrs({ 'href':(window.PokemonIconBackground(origpkmn)), 'target':("_blank"), 'style':(style), 'data-team':(teamIndex), 'data-slot':(i), "class": [('pokemon_icon'),(faintClass)] }, {"class":true,"href":true,"target":true,"style":true,"data-team":true,"data-slot":true})) + "></a>");
|
||||
if ( !origpkmn.isFainted())
|
||||
{
|
||||
|
@ -416,7 +415,6 @@ buf.push("<div class=\"pokemon_hp_background\"><div" + (jade.attrs({ 'style':("h
|
|||
}
|
||||
else
|
||||
{
|
||||
console.log('hasnoybeeninbattle')
|
||||
var newstyle = "background:url('../Sprites/Icons/iconempty.png')!important; background-size: cover!important;"
|
||||
buf.push("<a" + (jade.attrs({ 'href':(""), 'target':("_blank"), 'style':(newstyle), 'data-team':(teamIndex), 'data-slot':(i), "class": [('pokemon_icon'),(faintClass)] }, {"class":true,"href":true,"target":true,"style":true,"data-team":true,"data-slot":true})) + "></a>");
|
||||
if ( !origpkmn.isFainted())
|
||||
|
@ -465,7 +463,6 @@ else
|
|||
var hasbeeninbattle = origpkmn.get('beeninbattle')
|
||||
if ( hasbeeninbattle == true)
|
||||
{
|
||||
console.log('hasbeeninbattle')
|
||||
buf.push("<a" + (jade.attrs({ 'href':(window.PokemonIconBackground(origpkmn)), 'target':("_blank"), 'style':(style), 'data-team':(teamIndex), 'data-slot':(i), "class": [('pokemon_icon'),(faintClass)] }, {"class":true,"href":true,"target":true,"style":true,"data-team":true,"data-slot":true})) + "></a>");
|
||||
if ( !origpkmn.isFainted())
|
||||
{
|
||||
|
@ -474,7 +471,6 @@ buf.push("<div class=\"pokemon_hp_background\"><div" + (jade.attrs({ 'style':("h
|
|||
}
|
||||
else
|
||||
{
|
||||
console.log('hasnoybeeninbattle')
|
||||
var newstyle = "background:url('../Sprites/Icons/iconempty.png')!important; background-size: cover!important;"
|
||||
buf.push("<a" + (jade.attrs({ 'href':(""), 'target':("_blank"), 'style':(newstyle), 'data-team':(teamIndex), 'data-slot':(i), "class": [('pokemon_icon'),(faintClass)] }, {"class":true,"href":true,"target":true,"style":true,"data-team":true,"data-slot":true})) + "></a>");
|
||||
if ( !origpkmn.isFainted())
|
||||
|
|
Loading…
Reference in New Issue