Use eslint-env "shared-node-browser" for shared handlebars code
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
/* global global, window */
|
||||
export default function(Handlebars) {
|
||||
/* istanbul ignore next */
|
||||
let root = typeof global !== 'undefined' ? global : window, // eslint-disable-line no-undef
|
||||
let root = typeof global !== 'undefined' ? global : window,
|
||||
$Handlebars = root.Handlebars;
|
||||
/* istanbul ignore next */
|
||||
Handlebars.noConflict = function() {
|
||||
|
||||
Reference in New Issue
Block a user