Skip to content

Instantly share code, notes, and snippets.

@szobov
Created June 3, 2017 10:54
Show Gist options
  • Save szobov/bf22c9ea4a34e038742dbc80e7a44648 to your computer and use it in GitHub Desktop.
Save szobov/bf22c9ea4a34e038742dbc80e7a44648 to your computer and use it in GitHub Desktop.
hilt.core._inherits = (function hilt$core$_inherits(subClass, superClass) {
subClass.prototype = Object.create((function() {
var and__7101__auto__ = superClass;
if (cljs.core.truth_(and__7101__auto__)) {
return superClass.prototype;
} else {
return and__7101__auto__;
}
})(), (function() {
var obj12511 = {
"constructor": (function() {
var obj12513 = {
"value": subClass,
"enumerable": false,
"writable": true,
"configurable": true
};
return obj12513;
})()
};
return obj12511;
})());
if (cljs.core.truth_(superClass)) {
if (cljs.core.truth_(Object.setPrototypeOf)) {
return Object.setPrototypeOf(subClass, superClass);
} else {
return subClass.__proto__ = superClass;
}
} else {
return null;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment