remove IIFE on class declarations #288
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
var Test = (function () {
|
||||
var Test = function Test() {};
|
||||
var Test = function Test() {};
|
||||
|
||||
Test.prototype.test = function () {
|
||||
return 5 + 5;
|
||||
};
|
||||
|
||||
return Test;
|
||||
})();
|
||||
Test.prototype.test = function () {
|
||||
return 5 + 5;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user