mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-25 07:04:45 +00:00
13 lines
369 B
JavaScript
13 lines
369 B
JavaScript
/* global window */
|
|
export default function(Handlebars) {
|
|
/* istanbul ignore next */
|
|
let root = typeof global !== 'undefined' ? global : window,
|
|
$Handlebars = root.Handlebars;
|
|
/* istanbul ignore next */
|
|
Handlebars.noConflict = function() {
|
|
if (root.Handlebars === Handlebars) {
|
|
root.Handlebars = $Handlebars;
|
|
}
|
|
return Handlebars;
|
|
};
|
|
}
|