@htmlguyllc/jpack
Advanced tools
Comparing version 4.1.10 to 4.1.11
@@ -24,2 +24,3 @@ import {dom} from "../dom"; | ||
setGlobal: function(namespace){ | ||
var self = this; | ||
@@ -29,5 +30,5 @@ namespace = typeof namespace === 'string' ? namespace+'.' : null; | ||
//for each function within events | ||
for (var property in this) { | ||
for (var property in self) { | ||
//set everything that's a real method in events, except this one | ||
if (this.hasOwnProperty(property) && property !== 'setGlobal') { | ||
if (self.hasOwnProperty(property) && property !== 'setGlobal') { | ||
//set them on window so they're available globally | ||
@@ -34,0 +35,0 @@ //example: events.onClick becomes onClick |
{ | ||
"name": "@htmlguyllc/jpack", | ||
"version": "4.1.10", | ||
"version": "4.1.11", | ||
"description": "Core Javascript Library of Everyday Objects, Events, and Utilities", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
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
313574
4125