remove IIFE on class declarations #288

This commit is contained in:
Sebastian McKenzie
2014-12-13 17:33:35 +11:00
parent 525169460a
commit 833a4900da
19 changed files with 180 additions and 247 deletions

View File

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