Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

underscore.deferred

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

underscore.deferred - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

lib/underscore.deferred.js

@@ -1,2 +0,2 @@

(function(root, module){
(function(root){

@@ -398,3 +398,3 @@ // Let's borrow a couple of things from Underscore that we'll need

for ( ; i < length; i++ ) {
if ( args[ i ] && args[ i ].promise && jQuery.isFunction( args[ i ].promise ) ) {
if ( args[ i ] && args[ i ].promise && _isFunction( args[ i ].promise ) ) {
args[ i ].promise().then( resolveFunc(i), deferred.reject, progressFunc(i) );

@@ -427,2 +427,2 @@ } else {

})(this, module);
})(this);

@@ -5,3 +5,3 @@ {

"description": "Underscore style Deferreds",
"version": "0.1.1",
"version": "0.1.2",
"homepage": "https://github.com/wookiehangover/underscore.Deferred",

@@ -24,4 +24,4 @@ "repository": {

"scripts": {
"test": "node build test"
"test": "mocha -u qunit"
}
}
# Underscore.Deferred
v0.1.1
v0.1.2

@@ -11,5 +11,5 @@ This is a port of jQuery.Deferred as an Underscore mixin, but it can be

* @rwldrn
* @tbranyen
* @taxillian
* [rwldrn](https://github.com/rwldrn)
* [tbranyen](https://github.com/tbranyen)
* [taxillian](https://github.com/taxilian)

@@ -16,0 +16,0 @@ ## Deferred's are great, let's take them everywhere

@@ -1,3 +0,20 @@

module("deferred" );
if( typeof module !== "undefined" && module.exports ){
var
_ = require('underscore'),
assert = require('assert'),
ok = assert.ok,
equal = assert.equal,
expect = function(){},
deepEqual = assert.deepEqual,
strictEqual = assert.strictEqual,
notStrictEqual = assert.notStrictEqual;
_.mixin( require('../lib/underscore.deferred') );
}
test("its should be part of Underscore", function() {
ok( _.VERSION );
equal( typeof _.Deferred, 'function' );
});
_.each( [ "", " - new operator" ], function( withNew ) {

@@ -4,0 +21,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc