Jump to content

Btapp.get("add") Returns Undefined


v_decadence

Recommended Posts

I added all dependencies to my page, but when I try add torrent (with example from docs) I get error.

 

Code:

 

var btapp = new Btapp();
btapp.connect();
 
// ok so far
 
btapp.get('add').torrent(url);

 

// Uncaught TypeError: Cannot read property 'torrent' of undefined

 

Looks like .get method returns undefined by some reason. How can I resolve it?

I also tried different .torrent files with no luck.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...