Need to find paths to SCSS assets installed with npm to be used in a gulp script with gulp-sass.
const nodeModules = (() => {
let base = 'node_modules';
let modulesPath;
Error detected while processing function vital#of..vital#_9813ec6#new..<SNR>85_load..<SNR>85__import: | |
line 22: | |
E480: No match: `=path` | |
Error detected while processing function vital#of..vital#_9813ec6#new..<SNR>85_load: | |
line 21: | |
E171: Missing :endif |
line 8: | |
E121: Undefined variable: g:neocomplcache_context_filetype_lists | |
Error detected while processing function <SNR>82_on_moved_i..<SNR>82_get_cur_text..neocomplcache#get_context_filetype..<SNR>82_set_context_filetype..<SNR>82_get_context_filetype: | |
line 8: | |
E116: Invalid arguments for function has_key(g:neocomplcache_context_filetype_lists, filetype) && !empty(g:neocomplcache_context_filetype_lists[filetype]) | |
Error detected while processing function <SNR>82_on_moved_i..<SNR>82_get_cur_text..neocomplcache#get_context_filetype..<SNR>82_set_context_filetype..<SNR>82_get_context_filetype: | |
line 8: | |
E15: Invalid expression: has_key(g:neocomplcache_context_filetype_lists, filetype) && !empty(g:neocomplcache_context_filetype_lists[filetype]) | |
Error detected while processing function <SNR>82_on_moved_i..<SNR>82_get_cur_text..neocomplcache#get_context_filetype..<SNR>82_set_context_filetype: | |
line 26: |
// variables | |
$bp-small: em(768) !default; | |
$bp-medium: em(992) !default; | |
$bp-large: em(1200) !default; | |
$grid-columns: 12 !default; | |
$grid-gutter-width: em(30) !default; | |
$grid-wrapper-small: em(750) !default; | |
$grid-wrapper-medium: em(970) !default; | |
$grid-wrapper-large: em(1170) !default; |
@function get-opposite-direction($direction) { | |
$opposite-direction: center; | |
@if $direction == top { | |
$opposite-direction: bottom; | |
} | |
@if $direction == bottom { | |
$opposite-direction: top; | |
} | |
@if $direction == left { |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>demo</title> | |
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/css/bootstrap.min.css"> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script> | |
</head> |
$entypo-icons: ( | |
search : \1f50d, | |
flag : \2691 | |
// ... | |
); | |
@each $icon, $code in $entypo-icons { | |
.entypo-#{$icon}:before { | |
content: '#{$code}'; | |
} |
/** | |
* Creates JSON for a single input field | |
* | |
* e.g. article[id] = 1 => { article: {id: 1}} | |
* | |
* @param {Node} inputElem - :input element to serialize | |
* @returns {object} | |
*/ | |
var serializeInputToJSON = function(inputElem) { | |
var name = inputElem.name; |
var jobsCountRemaining = 2; | |
// ternary | |
var completed = jobsCountRemaining === 0 ? true : false; | |
return completed; | |
// if-else | |
if (jobsCountRemaining === 0) { | |
completed = true; | |
} else { |
/** | |
* Crawler | |
* PhantomJS writes to stream with content of crawled pages | |
* Streams HTML from phantomjs after document load as ndjson | |
*/ | |
'use strict' | |
const ndjson = require('ndjson') | |
const phantom = require('phantom') |