1
0
Fork 0

Converted vars to conventional function delcarations (no difference; just preference)

closure/master
Mike Gerwitz 2010-11-10 23:35:57 -05:00
parent 4e38898c93
commit c34f40db19
1 changed files with 4 additions and 6 deletions

View File

@ -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