Detailed: http://commonmark.org/help/
**bold**
__bold__
Detailed: http://commonmark.org/help/
**bold**
__bold__
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent
elem.clientLeft
, elem.clientTop
, elem.clientWidth
, elem.clientHeight
elem.getClientRects()
, elem.getBoundingClientRect()
const through = require('through2'), | |
PluginError = require('gulp-util').PluginError; | |
module.exports = function myTransformation(options) { | |
if(!options) { | |
options = {}; | |
} | |
return through.obj(function (file, enc, cb) { | |
if (file.isNull()) { |
const _ = require('lodash'); | |
const $ = require('jquery'); | |
const Vue = require('vue'); | |
require('jquery.magnific-popup'); | |
module.exports = Vue.extend({ | |
template: require('./tpl.html'), | |
props: { | |
show: { | |
type: Boolean, |
var gulp = require('gulp'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var source = require('vinyl-source-stream'); | |
var buffer = require('vinyl-buffer'); | |
var browserify = require('browserify'); | |
var watchify = require('watchify'); | |
var babel = require('babelify'); | |
function compile(watch) { | |
var bundler = watchify(browserify('./src/index.js', { debug: true }).transform(babel)); |
/** | |
* For check: https://vk.com/dev/execute | |
*/ | |
// var myList = Args.list; | |
// var listSeparator = Args.listSeparator; | |
// var listItemsType = Args.listItemsType; | |
var myList = "123456,789012,345678,901234,567890"; |
#!/bin/bash | |
############## | |
echo " | |
////////////////////////////////////// | |
// // | |
// Welcome to MODx autoinstaller. // | |
// // | |
////////////////////////////////////// |
(function(window, document, $, undefined){ | |
(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this); | |
var container = '.photolist'; | |
var pageNext = '.g-paginator-next'; | |
var pageList = '.pageslist'; | |
var currentPageClass = 'current'; | |
var $container = $(container); | |
var $pageNext = $(pageNext); | |
var $pageList = $(pageList); |