View Single Post
09/22/14, 05:07 PM   #6
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by SnowmanDK View Post
Thanks, "language" was used in my addon, so changed that. Hope it fixed it
It's definitely step to the right direction. But I'd recommend to take it a bit further - move all your global functions and variables to the global table BankManager, so you will be sure that variable "dirty" is truly yours and that init(...) really initializes your addon. I.e. init(...) -> BankManager.init(...), dirty -> BankManager.dirty, language -> BankManager.language etc.
  Reply With Quote