Created
June 3, 2017 10:54
-
-
Save szobov/bf22c9ea4a34e038742dbc80e7a44648 to your computer and use it in GitHub Desktop.
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
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