Browse Source

Changed the way the Builder class is exported.

fredck 11 years ago
parent
commit
66297bb113
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dev/tasks/build/builder.js

+ 3 - 3
dev/tasks/build/builder.js

@@ -7,14 +7,14 @@
 
 'use strict';
 
-var Builder;
+module.exports = Builder;
 
 /**
  * A CKEditor 5 release builder.
  *
  * @class Builder
  */
-module.exports = Builder = function( target ) {
+function Builder( target ) {
 	/**
 	 * The target directory where to create the build.
 	 *
@@ -46,7 +46,7 @@ module.exports = Builder = function( target ) {
 		[ 'optimize', 'Creating the optimized code...' ],
 		[ 'cleanUpTmp', 'Removing the "' + this.tmp + '" directory...' ]
 	];
-};
+}
 
 Builder.prototype = {
 	/**