Comparing version 1.0.0-beta-09 to 1.0.0-beta-10
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var _, assert, binary, compose, curry, deep_equal, describe, detach, empty, flip, identity, lt, odd, partial, ref, ref1, ref2, ternary, unary, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var assert, describe, ref, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var assert, describe, ref; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var assert, async, call, describe, fs, ref, ref1, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var async, call, ref; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var Amen, assert, script; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var assert, describe, ref; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var assert, async, call, curry, describe, promise, ref, ref1; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var assert, curry, describe, ref; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -25,9 +25,13 @@ var Method, assert, create, define, describe, dispatch, ref, | ||
if (term === arg) { | ||
p += 4; | ||
} else if (term === arg.constructor) { | ||
p += 3; | ||
} else if (term.constructor === Function && (arg instanceof term)) { | ||
p += 2; | ||
} else if (term.constructor === Function && term !== Boolean && (term(arg)) === true) { | ||
p += 5; | ||
} else if (term.constructor === Function) { | ||
if (term === arg.constructor) { | ||
p += 4; | ||
} else if (arg instanceof term) { | ||
p += 2; | ||
} else if (arg.prototype instanceof term) { | ||
p += 1; | ||
} else if (term !== Boolean && (term(arg)) === true) { | ||
p += 5; | ||
} | ||
} else { | ||
@@ -178,3 +182,3 @@ p = 0; | ||
}); | ||
return context.test("Predicate functions", function() { | ||
context.test("Predicate functions", function() { | ||
var baz; | ||
@@ -195,4 +199,28 @@ baz = Method.create(); | ||
}); | ||
return context.test("Class methods", function() { | ||
var A, B, foo; | ||
A = (function() { | ||
function A() {} | ||
return A; | ||
})(); | ||
B = (function(superClass) { | ||
extend(B, superClass); | ||
function B() { | ||
return B.__super__.constructor.apply(this, arguments); | ||
} | ||
return B; | ||
})(A); | ||
foo = Method.create(); | ||
Method.define(foo, A, function() { | ||
return true; | ||
}); | ||
return assert(foo(B)); | ||
}); | ||
}); | ||
}).call(this); |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var assert, curry, describe, negate, partial, ref, ref1; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var assert, compose, curry, deep_equal, describe, ref, ref1, |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var assert, describe, ref; |
@@ -1,2 +0,2 @@ | ||
// Generated by CoffeeScript 1.9.2 | ||
// Generated by CoffeeScript 1.9.3 | ||
(function() { | ||
@@ -3,0 +3,0 @@ var assert, curry, deep_equal, describe, ref, ref1; |
{ | ||
"name": "fairmont", | ||
"version": "1.0.0-beta-09", | ||
"version": "1.0.0-beta-10", | ||
"description": "A collection of useful functions and utilities.", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
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
125111
2327