View validate-html.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
/** | |
* HTML Validator Plugin for Webpack | |
* | |
* @docs https://html-validate.org | |
*/ | |
const path = require( 'path' ); | |
const columnify = require( 'columnify' ); | |
const HtmlWebpackPlugin = require( 'html-webpack-plugin' ); | |
const HtmlValidate = require( 'html-validate' ).HtmlValidate; |
View check-keys.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
/** | |
* Check for common keyboard actions. | |
* | |
* @example | |
* checkInputType( e, 'shift click', fn ); | |
* checkInputType( e, [ 'escape', 'enter' ], fn ); | |
* checkInputType( e, [ 'tab', 'shift tab' ], fn ); | |
* | |
* @param {Event} e - The event object. | |
* @param {String|Array} types - The name(s) of the inputs to check. |
View fragment.xml
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
<w:p w14:paraId="72754A29" w14:textId="77777777" w:rsidR="00E76149" w:rsidRDefault="00E76149"> | |
<w:pPr> | |
<w:pStyle w:val="TOC1"/> | |
<w:tabs> | |
<w:tab w:val="right" w:leader="dot" w:pos="9350"/> | |
</w:tabs> | |
<w:rPr> | |
<w:rFonts w:eastAsiaTheme="minorEastAsia"/> | |
<w:noProof/> | |
</w:rPr> |
View index.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
javascript:(function()%7Bwindow.location.assign('https%3A%2F%2Fwww.google.com%2Fsearch%3F'%2B%2Fq%5B%5E%26%5D%2B%2F.exec(window.location.search))%7D)() |
View git-merge-svn
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
#!/bin/bash | |
function usage { | |
echo "USAGE: git merge-svn <from> [<to>]" | |
echo "" | |
echo " from The branch name to be merged FROM" | |
echo " to Optional branch name to be merged onto. Default: HEAD" | |
echo "" | |
} |
View Gruntfile.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
module.exports = function( grunt ) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON( 'package.json' ), | |
buildPath: '../<%= pkg.name %>-build/', | |
clean: { |
View Gruntfile.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
module.exports = function( grunt ) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON( 'package.json' ), | |
buildPath: '../<%= pkg.name %>-build/', | |
clean: { | |
options: { |
View package.json
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
{ | |
"name": "Volo-Example", | |
"version": "0.0.1", | |
"description": "Kick the tires.", | |
"author": "Me", | |
"volo": { | |
"baseUrl": "library/js", | |
"dependencies": { | |
"jquery": "github:jquery/jquery/2.0.2", | |
"Modernizr": "github:Modernizr/Modernizr/v2.6.2" |
View build.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
!function() { | |
var path = require( 'path' ) | |
, csscat = require( 'csscat' ) | |
, fsh = require( 'csscat/lib/fsh' ) | |
; | |
// The directory to copy (relative to this file) | |
var original = './'; | |
View jQuery.equalHeights.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
$.fn.equalHeights = function( px ) { | |
$( this ).each( function() { | |
var currentElement, | |
currentHeight, | |
currentTallest = 0, | |
children = $( this ).children(); | |
children.each( function() { |
NewerOlder