Implemented Effect View for skills

This commit is contained in:
Thaum
2015-03-06 11:03:09 +00:00
parent 76ba6b441e
commit 40a050d88f
28 changed files with 602 additions and 86 deletions

View File

@@ -1,5 +1,6 @@
Template.registerHelper("detailHero", function(suffix){
var id = suffix? this._id + suffix : this._id;
Template.registerHelper("detailHero", function(suffix, givenId){
var id = givenId || this._id;
if(suffix) id += suffix;
if ( Session.equals("global.ui.detailHeroId", id) ) {
return "hero";
}