-
commit + 5f33082b9863d6e257e771371c417db1a8097aa2 Merge: 25f190f 5fda93c Author: Vladimir Grinenko [email protected] Date: Fri Mar 20 17:49:02 2015 +0300 Merge pull request #621 from bem/bemhtml-reference-fix fix typo + removed broken links + removed links to Russian talks from en...
-
commit + 5fda93c6e6caeb13397cdf77b149f36dd2b8453f Author: Inna Belaya [email protected] Date: Fri Mar 20 17:37:45 2015 +0300
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nb make examples desktop.examples/share-dropdown/ | |
16:17:58.922 - build started | |
16:17:59.921 - build failed | |
16:17:59.922 - build failed | |
TypeError: Cannot read property 'replace' of undefined | |
at resultTechMethods._preprocessTargetName (/Users/alexbaum/Projects/islands/node_modules/enb/lib/build-flow.js:626:34) | |
at inherit.configureUsages (/Users/alexbaum/Projects/islands/node_modules/enb/lib/build-flow.js:726:18) | |
at /Users/alexbaum/Projects/islands/node_modules/enb/lib/build-flow.js:558:27 | |
at Array.forEach (native) | |
at resultTechMethods.configure (/Users/alexbaum/Projects/islands/node_modules/enb/lib/build-flow.js:557:24) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var Template = require('../../template'); | |
exports.API_VER = 2; | |
exports.techMixin = { | |
template: ['block(\'{{bemBlockName}}\')(', ' ', ');'], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* CLI/server | |
* ======== | |
* | |
* Этот файл запускает ENB-сервер из командной строки. | |
*/ | |
var cdir = process.cwd(); | |
var Server = require('enb-magic-platform').runServer; | |
var Vow = require('vow'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function allLikesDelete() { | |
var likeNodes = document.querySelectorAll('.my_like'), | |
length = likeNodes.length, | |
i = 0, | |
timeOut = 600; // ms | |
function likeDelete() { | |
likeNodes[i].parentNode.onclick({}); | |
if(i < length - 1) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// доработать BEM.DOM.decl('gallery', { | |
this.lightBoxSettings = this.params.style || { | |
style: { | |
'border-radius': '20px', | |
'border': '2px solid white' | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
block gallery, mod type accordion{ | |
elem header { | |
elemMods: {d:'d'}, // эта модификация не проходит, но если изменить тег то он меняется | |
content: [ | |
{ | |
elem: 'cover', | |
elemMods: {f:'f'}, // эта проходит | |
content: [ | |
{ | |
tag: 'img' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
null | |
java.lang.AbstractMethodError | |
at org.intellij.plugins.intelliLang.inject.CommentLanguageInjector.getLanguagesToInject(CommentLanguageInjector.java:57) | |
at com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider$MyInjProcessor.process(InjectedPsiCachedValueProvider.java:82) | |
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageManagerImpl.processInPlaceInjectorsFor(InjectedLanguageManagerImpl.java:458) | |
at com.intellij.psi.impl.source.tree.injected.InjectedPsiCachedValueProvider.doCompute(InjectedPsiCachedValueProvider.java:62) | |
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.a(InjectedLanguageUtil.java:214) | |
at com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.enumerate(InjectedLanguageUtil.java:120) | |
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.collectLineMarkersForInjected(LineMarkersPass.java:217) | |
at com.intellij.codeInsight.daemon.impl.LineMarkersPass.doCollectInformation(LineMarkersPass.java:122) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.gitconfig | |
# Add this to your global git configuration file | |
# Change phpstorm to webstorm, if you use that. | |
# Diff and merge tool changes | |
# Run `git difftool <directory/file>...` or `git mergetool <directory/file>...` | |
[merge] | |
tool = webstorm | |
[diff] | |
tool = webstorm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Задача: у элементов блока 'b-text' тег равен имени элемента, те: | |
{ | |
block: 'b-text', | |
content: [ | |
{ | |
elem: 'p' | |
}, | |
{ | |
elem: 'ul', |