浏览代码

Changed the way the Builder class is exported.

fredck 11 年之前
父节点
当前提交
66297bb113
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      dev/tasks/build/builder.js

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

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