Skip to content

Instantly share code, notes, and snippets.

svlasov-gists

Block or report user

Report or block svlasov-gists

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@svlasov-gists
svlasov-gists / gist:2383751
Created Apr 14, 2012 — forked from padolsey/gist:272905
JavaScript: merge two objects
View gist:2383751
function merge(target, source) {
/* Merges two (or more) objects,
giving the last one precedence */
if ( typeof target !== 'object' ) {
target = {};
}
for (var property in source) {
View style.css
body {
padding: 50px;
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}
a {
color: #00B7FF;
}
You can’t perform that action at this time.