Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix for functions without params. #2

Open
wants to merge 3 commits into from

1 participant

Commits on Aug 9, 2012
  1. @TobiaszCudnik
Commits on Aug 10, 2012
  1. @TobiaszCudnik
  2. @TobiaszCudnik
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.js
View
2  index.js
@@ -15,7 +15,7 @@ module.exports = function (exprs) {
Object.keys(deps).forEach(function (key) {
var satisfied = deps[key].every(function (v) {
- return Object.hasOwnProperty.call(vars, v);
+ return !v || Object.hasOwnProperty.call(vars, v);
});
if (!satisfied) return;
Something went wrong with that request. Please try again.