Skip to content

Instantly share code, notes, and snippets.

Avatar
🖤
KISS

Roman Grinyov w3lifer

🖤
KISS
View GitHub Profile
@w3lifer
w3lifer / extend.js
Created Apr 24, 2017 — forked from cferdinandi/extend.js
A native JS extend() function.
View extend.js
/**
* Merge defaults with user options
* @private
* @param {Object} defaults Default settings
* @param {Object} options User options
* @returns {Object} Merged values of defaults and options
*/
var extend = function ( defaults, options ) {
var extended = {};
var prop;
View jquery-3.0.0.js
/*!
* jQuery JavaScript Library v3.0.0
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license