mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-09-15 12:09:05 +00:00
update
This commit is contained in:
13
node_modules/handlebars/lib/handlebars/no-conflict.js
generated
vendored
Normal file
13
node_modules/handlebars/lib/handlebars/no-conflict.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/* 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;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user