A Pen by Nick Sadovnikov on CodePen.
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
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 400; | |
src: local('Open Sans'), local('OpenSans'), url(http://fonts.gstatic.com/s/opensans/v10/RjgO7rYTmqiVp7vzi-Q5UT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); | |
} | |
@font-face { | |
font-family: 'Open Sans Condensed'; | |
font-style: normal; | |
font-weight: 300; |
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
var gemini = require('gemini'); | |
gemini.suite('new-post', function(suite) { | |
suite | |
.setUrl('projects/7days/7days-redesign/product/new-post.html') | |
.setCaptureElements('.b-page') | |
.capture('plain') | |
}); |
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
var autoprefixer = require('autoprefixer'); | |
module.exports = require('enb-stylus/techs/css-stylus').buildFlow() | |
.name('css-stylus-with-if-ie') | |
.defineOption('browsers') | |
.defineOption('autoprefixerArguments') | |
.methods({ | |
_configureRenderer: function(renderer) { | |
var args = this._browsers || this._autoprefixerArguments; |
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
### Input | |
```stylus | |
.b-pure-content_type_detail | |
for $type in disc square circle decimal decimal-leading-zero lower-roman upper-roman georgian armenian lower-latin lower-alpha upper-latin upper-alpha lower-greek | |
oList($type) | |
``` | |
mixin: | |
```stylus | |
oList($type = decimal) | |
ol[type=$type] |
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
var autoprefixer = require('autoprefixer'); | |
module.exports = require('enb/techs/css-stylus').buildFlow() | |
.name('css-stylus-with-if-ie-ie9') | |
.defineOption('autoprefixerArguments') | |
.target('target', '?.ie9.css') | |
.useFileList(['css', 'ie9.css', 'styl']) | |
.methods({ | |
_configureRenderer: function(renderer) { | |
var args = this._autoprefixerArguments; |
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
$ enb make desktop.bundles/user-profile/user-profile.html | |
12:50:02.929 - build started | |
12:50:03.208 - [rebuild] [desktop.bundles/user-profile/user-profile.bemjson.js] file-provider | |
12:50:03.239 - [rebuild] [desktop.bundles/user-profile/user-profile.levels] levels | |
12:50:03.244 - [rebuild] [desktop.bundles/user-profile/user-profile.bemdecl.js] bemdecl-from-bemjson | |
12:50:03.307 - [rebuild] [desktop.bundles/user-profile/user-profile.deps.js] deps-with-modules | |
12:50:03.308 - [rebuild] [desktop.bundles/user-profile/user-profile.files] files | |
12:50:03.308 - [rebuild] [desktop.bundles/user-profile/user-profile.dirs] files | |
12:50:05.019 - [rebuild] [desktop.bundles/user-profile/user-profile.bemhtml.js] bemhtml-old | |
12:50:05.039 - [failed] [desktop.bundles/user-profile/user-profile.html] html-from-bemjson |
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
Already disposed: Project (Disposed) 7days-redesign: Already disposed: Project (Disposed) 7days-redesign | |
java.lang.AssertionError: Already disposed: Project (Disposed) 7days-redesign | |
at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponent(ComponentManagerImpl.java:186) | |
at com.intellij.openapi.fileEditor.FileEditorManager.getInstance(FileEditorManager.java:34) | |
at org.editorconfig.configmanagement.CodeStyleManager.windowGainedFocus(CodeStyleManager.java:62) | |
at java.awt.Window.processWindowFocusEvent(Window.java:2105) | |
at java.awt.Window.processEvent(Window.java:2021) | |
at java.awt.Component.dispatchEventImpl(Component.java:4883) | |
at java.awt.Container.dispatchEventImpl(Container.java:2292) | |
at java.awt.Window.dispatchEventImpl(Window.java:2739) |
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
module.exports = function (grunt) { | |
'use strict'; | |
// Enb targets | |
var fs = require('fs'); | |
var targetsList = [], | |
htmlList = [], | |
cssList = ['desktop.bundles/common/common.css', 'desktop.bundles/common/common.ie.css', 'desktop.bundles/common/common.ie8.css', 'desktop.bundles/common/common.ie9.css'], | |
jsList = ['desktop.bundles/common/common.js']; |