Skip to content

Commit a2453a1

Browse files
committed
3.0.1
1 parent 6ce5458 commit a2453a1

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

dist/logdown.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -313,16 +313,17 @@ module.exports = [
313313
},{}],6:[function(require,module,exports){
314314
(function (global){
315315
/* eslint-disable no-new-func */
316+
/* global self, global */
316317

317-
module.exports = function getGlobal() {
318-
// return global object based on the environment present in.
319-
// window for browser and global for node.
320-
// https://github.com/purposeindustries/window-or-global/blob/master/lib/index.js
321-
return (
318+
module.exports = function getGlobal () {
319+
// Return the global object based on the environment presently in.
320+
// window for browser and global for node.
321+
// Ref from -> https://github.com/purposeindustries/window-or-global/blob/master/lib/index.js
322+
return (
322323
(typeof self === 'object' && self.self === self && self) ||
323324
(typeof global === 'object' && global.global === global && global) ||
324325
this
325-
)
326+
)
326327
}
327328

328329
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

dist/logdown.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/logdown.min.js.gzip

-10 Bytes
Binary file not shown.

example/lib/logdown.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -313,16 +313,17 @@ module.exports = [
313313
},{}],6:[function(require,module,exports){
314314
(function (global){
315315
/* eslint-disable no-new-func */
316+
/* global self, global */
316317

317-
module.exports = function getGlobal() {
318-
// return global object based on the environment present in.
319-
// window for browser and global for node.
320-
// https://github.com/purposeindustries/window-or-global/blob/master/lib/index.js
321-
return (
318+
module.exports = function getGlobal () {
319+
// Return the global object based on the environment presently in.
320+
// window for browser and global for node.
321+
// Ref from -> https://github.com/purposeindustries/window-or-global/blob/master/lib/index.js
322+
return (
322323
(typeof self === 'object' && self.self === self && self) ||
323324
(typeof global === 'object' && global.global === global && global) ||
324325
this
325-
)
326+
)
326327
}
327328

328329
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "logdown",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Debug utility with markdown support that runs on browser and server",
55
"main": "src/node.js",
66
"browser": "dist/logdown.min.js",

0 commit comments

Comments
 (0)