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
// If you are using borschik to expand links (bem make and enb do this for you) | |
// you could use this hack for any jQuery plugin found in the wild | |
modules.define('i-jquery__my-plugin', ['jquery'], function(provide, $){ | |
var jQuery = $, | |
window = {jQuery: jQuery}; | |
/*borschik:include:path/to/jquery-plugin.js*/ | |
provide($); | |
}); |
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']; |
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('credit-card')( | |
js()(true), | |
content()(function() { | |
return { | |
elem: 'card', | |
content: [ | |
{ | |
block: 'logo', | |
mods: { theme: 'gray' }, | |
format: 'svg' |
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 pkg = require('./package.json'), | |
settings = pkg._settings, | |
bem = require('bem').api, | |
gulp = require('gulp'), | |
gif = require('gulp-if'), | |
csso = require('gulp-csso'), | |
uglify = require('gulp-uglify'), | |
rename = require('gulp-rename'), | |
replace = require('gulp-replace'), | |
path = require('path'), |
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
// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css | |
@media print { | |
html * { | |
text-shadow: none !important; | |
color:#000 !important; // Black prints faster: h5bp.com/s | |
background: transparent !important; | |
box-shadow:none !important; | |
} |
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 pkg = require('./package.json'), | |
dirs = pkg._directories, | |
bem = require('bem').api, | |
gulp = require('gulp'), | |
gif = require('gulp-if'), | |
csso = require('gulp-csso'), | |
concat = require('gulp-concat'), | |
notify = require('gulp-notify'), | |
rename = require('gulp-rename'), | |
path = require('path'), |
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: 'input', | |
mods: {type: 'select'}, | |
options: [ | |
{ | |
name: 'one', | |
val: 1 | |
}, | |
{ | |
name: 'two', |
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
[BS] [DEBUG]: Browser Connected! (Chrome, version: 36.0.1985.135) | |
[BS] [DEBUG]: Browser Connected! (Chrome, version: 34.0.1847.131) | |
[BS] [DEBUG]: Browser Connected! (Yandex, version: 14.7.1916.15575) | |
[BS] [DEBUG]: Browser Connected! (WebKit, version: 537.51.2) | |
[BS] [DEBUG]: Browser Connected! (Firefox, version: 32.0) | |
[BS] [DEBUG]: Browser Connected! (Chrome, version: 37.0.2062.94) | |
[BS] [DEBUG]: Browser Connected! (Safari, version: 7.0.6) | |
[BS] [DEBUG]: Browser Connected! (Mobile Safari, version: 7.0) | |
[BS] [DEBUG]: Browser Connected! (Mobile Safari, version: 7.0) | |
[BS] [DEBUG]: Browser Connected! (Mobile Safari, version: 7.0) |
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 vow-queue | |
* @author Filatov Dmitry <dfilatov@yandex-team.ru> | |
* @version 0.3.1 | |
* @license | |
* Dual licensed under the MIT and GPL licenses: | |
* * http://www.opensource.org/licenses/mit-license.php | |
* * http://www.gnu.org/licenses/gpl.html | |
*/ |
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
exports.deps = [ | |
{ | |
"block": "page" | |
}, | |
{ | |
"block": "page", | |
"elem": "css" | |
}, | |
{ | |
"block": "page", |
OlderNewer