Permalink
Browse files

Rename common.instantiate to common.instance, apparently I had some

out-of-date specs at the time I wrote the original, this makes
middleclass(-commons) follow the spec and pass the tests again.
  • Loading branch information...
1 parent 8b4b40d commit caeaa39401a9dbddad3c527744835929069acebf @bartbes committed May 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 middleclass-commons.lua
View
@@ -21,7 +21,7 @@ if common_class ~= false then
return c
end
- function common.instantiate(class, ...)
+ function common.instance(class, ...)
return class:new(...)
end
end

0 comments on commit caeaa39

Please sign in to comment.