Skip to content

Commit

Permalink
Remove some unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Johnston committed Oct 12, 2009
1 parent d55caf0 commit 3c13070
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions js-wiring.js
Expand Up @@ -394,7 +394,7 @@ var Wiring = (function() {
* @return Object
*/
getInstance: function() {
var p, m, v, inst, i, len, args, argRefs, tempCtor,
var p, m, v, inst, tempCtor,
def = this.getCascadedDef(),
defProps = def.properties,
defCtor = def.type,
Expand All @@ -406,11 +406,7 @@ var Wiring = (function() {
return inst;
}

args = [];
argRefs = [];

len = defCtorArgs.length;
if( len > 0 ) {
if( defCtorArgs.length > 0 ) {
// Construct a new instance, passing along any ctorArgs. Instantiate the
// object using an empty constructor, then call apply on the real constructor;
// this allows us to use a ctor argument list of unknown length and still
Expand Down
2 changes: 1 addition & 1 deletion js-wiring.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3c13070

Please sign in to comment.