mirror of https://github.com/lukechilds/rollup.git
Rich Harris
8 years ago
8 changed files with 65 additions and 0 deletions
@ -0,0 +1,3 @@ |
|||
module.exports = { |
|||
description: 'detects mutation of globals' |
|||
}; |
@ -0,0 +1,11 @@ |
|||
define(function () { 'use strict'; |
|||
|
|||
var bool = true; |
|||
|
|||
const hs = document.documentElement.style; |
|||
|
|||
if ( bool ) { |
|||
hs.color = "#222" |
|||
} |
|||
|
|||
}); |
@ -0,0 +1,9 @@ |
|||
'use strict'; |
|||
|
|||
var bool = true; |
|||
|
|||
const hs = document.documentElement.style; |
|||
|
|||
if ( bool ) { |
|||
hs.color = "#222" |
|||
} |
@ -0,0 +1,7 @@ |
|||
var bool = true; |
|||
|
|||
const hs = document.documentElement.style; |
|||
|
|||
if ( bool ) { |
|||
hs.color = "#222" |
|||
} |
@ -0,0 +1,12 @@ |
|||
(function () { |
|||
'use strict'; |
|||
|
|||
var bool = true; |
|||
|
|||
const hs = document.documentElement.style; |
|||
|
|||
if ( bool ) { |
|||
hs.color = "#222" |
|||
} |
|||
|
|||
}()); |
@ -0,0 +1,15 @@ |
|||
(function (global, factory) { |
|||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
|||
typeof define === 'function' && define.amd ? define(factory) : |
|||
(factory()); |
|||
}(this, (function () { 'use strict'; |
|||
|
|||
var bool = true; |
|||
|
|||
const hs = document.documentElement.style; |
|||
|
|||
if ( bool ) { |
|||
hs.color = "#222" |
|||
} |
|||
|
|||
}))); |
@ -0,0 +1 @@ |
|||
export default true; |
@ -0,0 +1,7 @@ |
|||
import bool from './bool'; |
|||
|
|||
const hs = document.documentElement.style; |
|||
|
|||
if ( bool ) { |
|||
hs.color = "#222" |
|||
} |
Loading…
Reference in new issue