Permalink
Browse files

added setter naming

  • Loading branch information...
1 parent 23c5dcd commit 5ad187b6e137db22a1b3bf618bde220a176aca6e @spolu spolu committed Apr 5, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −0 lib/base.js
  2. +1 −1 package.json
View
@@ -71,6 +71,7 @@ exports.setter = function(that, name, obj, prop) {
return that;
};
that['set' + name.substring(0, 1).toUpperCase() + name.substring(1)] = setter;
+ that['set' + '_' + name] = setter;
};
/**
View
@@ -1,6 +1,6 @@
{
"name": "fwk",
- "version": "1.1.2",
+ "version": "1.1.3",
"description": "Simple JS framework for node.js",
"keywords": ["fwk", "node"],
"homepage": "https://github.com/teleportd/fwk",

0 comments on commit 5ad187b

Please sign in to comment.