console-dot-toad
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -6,9 +6,9 @@ /** | ||
(function dothething() { | ||
(function dothething(global) { | ||
if( !window.console ) { | ||
if( !global.console ) { | ||
return; | ||
} | ||
window.console.toad = function() { | ||
global.console.toad = function() { | ||
@@ -18,3 +18,3 @@ var i, | ||
var inBrowser = (typeof window !== 'undefined'); | ||
var inBrowser = (typeof global !== 'undefined'); | ||
@@ -59,2 +59,2 @@ var toad; | ||
} | ||
})(); | ||
})(this); |
{ | ||
"name": "console-dot-toad", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Log with a toad, its as simple as that!", | ||
@@ -5,0 +5,0 @@ "main": "console.toad.js", |
@@ -46,4 +46,4 @@ # 搞个大新闻 Make a big news | ||
###License | ||
Copyright (c) 2016 Dafrok Zhang - http://dafrok.github.io | ||
Copyright (c) 2016 moeHa | ||
The MIT License |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
12140