Maciej Kwaśniak

Results 73 comments of Maciej Kwaśniak

Thanks Ryan for your answers! :) > The browser adds the ="" so I had done that to match. Hmm, when I set empty string attribute on the element using...

That's correct. The inner html as text will contain the `=""` however the nodes will not have it. ![Screen Shot 2021-08-30 at 22 23 58](https://user-images.githubusercontent.com/1469375/131400488-9faac5ae-7a1b-4af4-bcb8-ae57a638cea9.png) Setting innerHTML as `''` is...

An example of how we could use template literals for that: ``` function template(strings, ...keys) { return (function(...values) { let dict = values[values.length - 1] || {}; let result =...

Awesome! Thank you Ryan for tackling this so quickly! 🎉 > The template thing is trickier. I looked at stuff like bytecodes etc doing my own encoding and I wasn't...

In the case when you are using scopes just for categorizing things this is pretty useful. Eg, for different scopes you have a diffrent method which calls the same. Right...

Sure, eg you can have: ```rb configuration_method cars: :engine_types do Engines.for.cars end configuration_method bikes: :engine_types do Engines.for.bikes end ``` And in that case to have it worked I need to...

Also, Is there any possibility to access different scope in a method? use-case example: ```rb MyApp.configure do |c| c.host = 'mydomain.com' end ``` ```rb configuration_method emails: :email_for do |name| "#{name}@#{host}"...

hmm sorry :/ its not possible right now. It needs to be implemented

Thanks for spotting that. Definitely an issue. PR welcome :)