can-view-callbacks
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -49,2 +49,4 @@ var Observation = require('can-observation'); | ||
//!steal-remove-end | ||
return cb; | ||
} | ||
@@ -51,0 +53,0 @@ }; |
{ | ||
"name": "can-view-callbacks", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"description": "Registered callbacks for behaviors", | ||
@@ -5,0 +5,0 @@ "homepage": "http://canjs.com", |
@@ -118,1 +118,9 @@ var QUnit = require('steal-qunit'); | ||
} | ||
QUnit.test("should return callback", function(){ | ||
var handler = function() {}; | ||
callbacks.attr('foo', handler); | ||
var fooHandler = callbacks.attr('foo'); | ||
equal(fooHandler, handler, 'registered handler returned'); | ||
}); |
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
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
30270
256