Skip to content

Instantly share code, notes, and snippets.

View BearJS's full-sized avatar
🦍
Longback

Paul Liu BearJS

🦍
Longback
  • United Kingdom
  • 17:15 (UTC +01:00)
View GitHub Profile
@BearJS
BearJS / .gitignore
Created March 30, 2017 11:13 — forked from smebberson/.gitignore
Express simple authentication example
node_modules
*.swp
@BearJS
BearJS / extend.js
Last active August 29, 2015 14:25 — forked from cferdinandi/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;