1 parent 0cb0bad commit 2a76e5aCopy full SHA for 2a76e5a
1 file changed
lib/NullFactory.js
@@ -2,9 +2,11 @@
2
MIT License http://www.opensource.org/licenses/mit-license.php
3
Author Tobias Koppers @sokra
4
*/
5
-function NullFactory() {}
6
-module.exports = NullFactory;
+"use strict";
7
8
-NullFactory.prototype.create = function(data, callback) {
9
- return callback();
10
-};
+class NullFactory {
+ create(data, callback) {
+ return callback();
+ }
11
+}
12
+module.exports = NullFactory;
0 commit comments