Егор Халимоненко

Results 35 comments of Егор Халимоненко

@kriskowal Due this patch is only actual in IE < 9 I have to note that IE < 9 throw **exception** if we try to `Array.prototype.slice.call(x)` on DOM object, eg...

Allowing array-like object in `Function.prototype.apply` is very important to me due DOM4 mutation methods: ``` javascript var node = document.querySelector("div"); node.append.apply(node, document.querySelectorAll("p")); ``` This code should **append** all `` nodes...

@abozhilov Yes you are right. And I fixed this. My Array.from function now is: ``` javascript Array.from = function(iterable) { if(iterable instanceof Array || Array.isArray(iterable))return iterable; if(iterable.toArray)return iterable.toArray(); var object...

@ljharb I will update my Array.from as soon as i am starting using my [es6-transpiler](https://github.com/termi/es6-transpiler) in a real project. At the time when I wrote Array.from, it conforms to the...

@ljharb https://github.com/paulmillr/es6-shim/issues/182

There are no any reasons to create the DOM-elements. You can do something like this: ``` javascript var newHTMLDocument = new ActiveXObject("htmlfile") , uuid = Math.random() * 10 , instancePrototype...

Jade, который создаёт БЭМ-компоненты Объявление ``` jade @block bem_block_input(value):disabled:readonly // псевдо-классы == модификаторы .b-input // Тэг по-умолчанию - div input.&__el( // & работает относительно блока value=value , disabled=matches(:disabled) // Вместо...

Как-то так. Для читаемости, можно предусмотреть пробелы и переносы строк в модификаторах, но это уже не по jade-синтаксису ``` jade @mixin dropdown_block_item(name, id):active=&.actveId:disabled //:active=&.actveId - Значение по-умолчанию и & -...

Ну это просто пример синтаксиса. Реализацию можно сделать чего-угодно. Хотя, я тоже понимаю, что выходит несколько громоздко. Но, зато, это почти jade

Thanks you. I will fix it soon with new major version on this lib. I am testing new version right now.