Comparing version 2.0.0 to 2.0.1
11
index.js
@@ -415,12 +415,3 @@ 'use strict'; | ||
return client +' return Primus; });' + library | ||
.filter(Boolean) | ||
.map(function wrap(lib) { | ||
// | ||
// Wrap the libraries in a closure, they could expose variables or | ||
// override variables that are used by the application. A good example of | ||
// this is the use of the `require` function which requirejs, browserify | ||
// and others are using. | ||
// | ||
return '(function library(Primus, global) {'+ lib +'}(this.Primus, this));'; | ||
}).join('\n'); | ||
.filter(Boolean).join('\n'); | ||
}; | ||
@@ -427,0 +418,0 @@ |
{ | ||
"name": "primus", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Primus is a simple abstraction around real-time frameworks. It allows you to easily switch between different frameworks without any code changes.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
297897
7851