Questions tagged [riot]

Riot is a fast, expressive, and contextual unit testing framework for Ruby.

Riot is a fast, expressive, and contextual unit testing framework for .

For more information, see the GitHub page.

64 questions
1
vote
2 answers

Riot.js: Reusing children tag names within different parent tags

I'm working on a small ui project. So I developed 'form-accordion' tag that is used in following way: ... ... Now I want to…
Marek
  • 862
  • 7
  • 19
1
vote
1 answer

Riot API With Angular 2

I trying to use the Riot API for Champions in this code --Service @Injectable() export class ChampionService { private riotUrl = 'https://br1.api.riotgames.com/lol/static- data/v3/champions?api_key=myApiKey'; constructor(private _http: Http) {…
1
vote
0 answers

RiotJS: mount multiple tags getting isntance on page start don't work

When I have two tag's and I'm trying to get both instance using [0] on mount method, only first works. This problem appear when I need start the page mounting more than one tag passing date on mount and getting they instance. OBS: I really need the…
1
vote
1 answer

How can I use parameter I get through riot.route()?

riot.route('/*', function(category) { riot.mount('#main', 'category-page', category) }) When URL change, I want to get parameter as "category" and use it in . I tried console.log(this.opts.category)in , but what I…
Hiro
  • 47
  • 8
1
vote
1 answer

Riotjs nested tags options are undefined

I am using riotjs library and have two tags "comment-list" and "comment". comment-list :
valvince
  • 397
  • 1
  • 13
1
vote
0 answers

Event not fired outside mount function

I have $('input').on('itemAdded', function (event) event from bootstrap tagsInput.js library. I am listening on event to add an item to array but the problem is that “self.update()” is called twice adding duplicate items to array. if I put the event…
kittu
  • 6,662
  • 21
  • 91
  • 185
1
vote
1 answer

loading external library in riotjs

I have jquery flexslider which does slide animation. But the problem is the library is getting loaded before the DOM is loaded hence unable to trigger actions of flexslider. Html:
kittu
  • 6,662
  • 21
  • 91
  • 185
1
vote
1 answer

Module parse failed when using Riot with Webpack, and Babel for es2015

I have a project that is using ES2015 for the code, and also using Riot. (The Riot components, however, do not need to be in ES2015, just old JS) I am also using Webpack to build the project. The problem I am getting is : "ERROR in…
kris
  • 11,868
  • 9
  • 88
  • 110
1
vote
1 answer

Riot Js Updating tag

If i'm on the form tag and I want to update the nav tag. When a event happens on the form tag. How can I update the nav without riot.update();
1
vote
2 answers

why my Riot JS update isn't working?

So I'm learning Riot JS, following a guide. Gives an example explaining step by step. And adds a "this.update()" to update the riot js variables. Now, it is working for him, but not for me. Can you guys tell me why? Here's the code. This is the…
msqar
  • 2,940
  • 5
  • 44
  • 90
1
vote
1 answer

First Step with Riot API in C#

I am learning C# and want to use the Riot API. I just want to receive that: { "type":"champion", "version":"6.1.1", "data":{ "Thresh":{ "id":412, "key":"Thresh", "name":"Thresh", …
Sidereus
  • 200
  • 3
  • 13
1
vote
1 answer

Fetch summoner name from id

I am currently using the java-version of the Riot api, made by rithms, (https://github.com/rithms/riot-api-java) and I am trying to receive the name of a champion, as I am currently "just" able to get the id. RankedStats rankedStats =…
Cath
  • 460
  • 6
  • 21
1
vote
1 answer

How to echo PHP HashMaps

im new in PHP developing and need your help. I write a webpage summoner-info.com with the RIOT API. But im to bad to understand the documentation. I wana output via echo my states. In the API docs stands: Return Value: Map[string,…
user5542718
1
vote
1 answer

python accessing elements in a dictionary inside dictionary

I get a response from riot's server: def main(): api = RiotAPI('dec34559a91-ad8b-4fd2-b49a-bae3b4524522b8a') summoner_name = str(input("Please enter the summoner ID\n")) if summoner_name == "": summoner_name = "zLKida" r =…
Hack_Hut
  • 174
  • 3
  • 14
0
votes
0 answers

Riot Vanguard won't uninstall

I use windows 11 and I am trying to uninstall all the Riot Applications. I have uninstalled all Riot Applications, including the Client. I have manually removed it's files. When I go to Installed Apps and try to Uninstall Riot Vanguard, nothing…
Peter
  • 1