Advertisement
jargon

Untitled

May 28th, 2024
669
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         // Prepare attributes list
  2.  
  3.         this.list = [];
  4.  
  5.         // Load attributes list
  6.        
  7.         this.attributes.forEach(attribute => {
  8.             this.list[this[attribute]] = this.loadJSON(`http://${this.host}/maps/attributes/${attribute}.json`);
  9.         });
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement