diff --git a/lib/class.js b/lib/class.js index fedaf9e..ccea8a3 100644 --- a/lib/class.js +++ b/lib/class.js @@ -48,9 +48,7 @@ exports.extend = function( base ) * * @return undefined */ -var Class = function() -{ -}; +function Class() {}; /** @@ -66,7 +64,7 @@ var Class = function() * * @return undefined */ -var prop_copy = function( props, dest ) +function prop_copy( props, dest ) { // copy each of the properties to the destination object for ( property in props ) @@ -133,7 +131,7 @@ var prop_copy = function( props, dest ) * * @return {Object} extended class */ -var extend = function() +function extend() { var args = Array.prototype.slice.call( arguments ), props = args.pop() || {}, @@ -170,7 +168,7 @@ var extend = function() * * @return undefined */ -var attach_extend = function( func ) +function attach_extend( func ) { /** * Shorthand for extending classes